/** * @since 2.1 */ public Connection attach(String host, int outboundPort, int inboundPort, Parser parser, LowerLayerProtocol llp, boolean tls, SocketFactory socketFactory) throws HL7Exception { return attach(new ConnectionData(host, outboundPort, inboundPort, parser, llp, tls, socketFactory, false)); }
/** * @since 2.1 */ public Connection attachLazily(String host, int outboundPort, int inboundPort, Parser parser, LowerLayerProtocol llp, boolean tls, SocketFactory socketFactory) throws HL7Exception { return attach(new ConnectionData(host, outboundPort, inboundPort, parser, llp, tls, socketFactory, true)); }
/** * @since 2.0 */ public Connection attach(String host, int outboundPort, int inboundPort, Parser parser, LowerLayerProtocol llp, boolean tls) throws HL7Exception { return attach(new ConnectionData(host, outboundPort, inboundPort, parser, llp, tls, null, false)); }
/** * @since 2.1 */ public Connection attach(String host, int port, Parser parser, LowerLayerProtocol llp, boolean tls, SocketFactory socketFactory) throws HL7Exception { return attach(new ConnectionData(host, port, 0, parser, llp, tls, socketFactory, false)); }
/** * @since 2.1 */ public Connection attach(String host, int outboundPort, int inboundPort, Parser parser, LowerLayerProtocol llp, boolean tls, SocketFactory socketFactory) throws HL7Exception { return attach(new ConnectionData(host, outboundPort, inboundPort, parser, llp, tls, socketFactory, false)); }
/** * @since 2.2 */ public Connection attachLazily(String host, int outboundPort, int inboundPort, Parser parser, LowerLayerProtocol llp, boolean tls) throws HL7Exception { return attach(new ConnectionData(host, outboundPort, inboundPort, parser, llp, tls, null, true)); }
/** * @since 2.1 */ public Connection attach(String host, int port, Parser parser, LowerLayerProtocol llp, boolean tls, SocketFactory socketFactory) throws HL7Exception { return attach(new ConnectionData(host, port, 0, parser, llp, tls, socketFactory, false)); }
/** * @since 2.0 */ public Connection attach(String host, int outboundPort, int inboundPort, Parser parser, LowerLayerProtocol llp, boolean tls) throws HL7Exception { return attach(new ConnectionData(host, outboundPort, inboundPort, parser, llp, tls, null, false)); }
/** * @since 2.2 */ public Connection attachLazily(DefaultHapiContext hapiContext, String host, int port, boolean tls) throws HL7Exception { return attach(new ConnectionData(host, port, 0, hapiContext.getGenericParser(), hapiContext.getLowerLayerProtocol(), tls, hapiContext.getSocketFactory(), true)); }
/** * @since 2.2 */ public Connection attachLazily(DefaultHapiContext hapiContext, String host, int outboundPort, int inboundPort, boolean tls) throws HL7Exception { return attach(new ConnectionData(host, outboundPort, inboundPort, hapiContext.getGenericParser(), hapiContext.getLowerLayerProtocol(), tls, hapiContext.getSocketFactory(), true)); }
/** * @since 2.1 */ public Connection attach(DefaultHapiContext hapiContext, String host, int port, boolean tls) throws HL7Exception { return attach(new ConnectionData(host, port, 0, hapiContext.getGenericParser(), hapiContext.getLowerLayerProtocol(), tls, hapiContext.getSocketFactory(), false)); }
/** * @since 2.1 */ public Connection attach(DefaultHapiContext hapiContext, String host, int port, boolean tls) throws HL7Exception { return attach(new ConnectionData(host, port, 0, hapiContext.getGenericParser(), hapiContext.getLowerLayerProtocol(), tls, hapiContext.getSocketFactory(), false)); }
/** * @since 2.1 */ public Connection attach(DefaultHapiContext hapiContext, String host, int outboundPort, int inboundPort, boolean tls) throws HL7Exception { return attach(new ConnectionData(host, outboundPort, inboundPort, hapiContext.getGenericParser(), hapiContext.getLowerLayerProtocol(), tls, hapiContext.getSocketFactory(), false)); }
/** * @since 2.2 */ public Connection attachLazily(DefaultHapiContext hapiContext, String host, int outboundPort, int inboundPort, boolean tls) throws HL7Exception { return attach(new ConnectionData(host, outboundPort, inboundPort, hapiContext.getGenericParser(), hapiContext.getLowerLayerProtocol(), tls, hapiContext.getSocketFactory(), true)); }
/** * @since 2.2 */ public Connection attachLazily(DefaultHapiContext hapiContext, String host, int port, boolean tls) throws HL7Exception { return attach(new ConnectionData(host, port, 0, hapiContext.getGenericParser(), hapiContext.getLowerLayerProtocol(), tls, hapiContext.getSocketFactory(), true)); }
/** * @since 2.2 */ public Connection attachLazily(String host, int outboundPort, int inboundPort, boolean tls) throws HL7Exception { return attach(new ConnectionData(host, outboundPort, inboundPort, getHapiContext() .getGenericParser(), getHapiContext().getLowerLayerProtocol(), tls, getHapiContext().getSocketFactory(), true)); }
/** * @since 2.0 */ public Connection attach(String host, int outboundPort, int inboundPort, boolean tls) throws HL7Exception { return attach(new ConnectionData(host, outboundPort, inboundPort, getHapiContext() .getGenericParser(), getHapiContext().getLowerLayerProtocol(), tls, getHapiContext().getSocketFactory(), false)); }
/** * @since 2.0 */ public Connection attach(String host, int outboundPort, int inboundPort, boolean tls) throws HL7Exception { return attach(new ConnectionData(host, outboundPort, inboundPort, getHapiContext() .getGenericParser(), getHapiContext().getLowerLayerProtocol(), tls, getHapiContext().getSocketFactory(), false)); }
/** * @since 2.2 */ public Connection attachLazily(String host, int outboundPort, int inboundPort, boolean tls) throws HL7Exception { return attach(new ConnectionData(host, outboundPort, inboundPort, getHapiContext() .getGenericParser(), getHapiContext().getLowerLayerProtocol(), tls, getHapiContext().getSocketFactory(), true)); }
/** * Returns a Connection to the given address, opening this Connection if necessary. The given * Parser will only be used if a new Connection is opened, so there is no guarantee that the * Connection returned will be using the Parser you provide. If you need explicit access to the * Parser the Connection is using, call <code>Connection.getParser()</code>. * * @since 2.2 */ public Connection attachLazily(String host, int port, boolean tls) throws HL7Exception { return attach(new ConnectionData(host, port, 0, getHapiContext().getGenericParser(), getHapiContext().getLowerLayerProtocol(), tls, getHapiContext() .getSocketFactory(), true)); }