Uses of Interface
ca.uhn.hl7v2.app.Connection
Packages that use Connection
-
Uses of Connection in ca.uhn.hl7v2
Methods in ca.uhn.hl7v2 that return ConnectionModifier and TypeMethodDescriptionConstruct a new HL7 Client which will connect to an external TCP server for the purpose of sending messages (and receiving responses).Construct a new HL7 two-port client which will connect to an external TCP server for the purpose of sending messages (and receiving responses).DefaultHapiContext.newLazyClient(String host, int port, boolean tls) DefaultHapiContext.newLazyClient(String host, int outboundPort, int inboundPort, boolean tls) HapiContext.newLazyClient(String host, int port, boolean tls) Construct a new HL7 Client which will connect to an external TCP server for the purpose of sending messages (and receiving responses).HapiContext.newLazyClient(String host, int outboundPort, int inboundPort, boolean tls) Construct a new HL7 two-port client which will connect to an external TCP server for the purpose of sending messages (and receiving responses). -
Uses of Connection in ca.uhn.hl7v2.app
Classes in ca.uhn.hl7v2.app that implement ConnectionModifier and TypeClassDescriptionclassA TCP/IP connection to a remote HL7 server.classA LazyConnection behaves like an ordinary connection except for the fact that the actual socket connection is created lazily right before the first message is sent over the associated Initiator.Methods in ca.uhn.hl7v2.app that return ConnectionModifier and TypeMethodDescriptionConnectionHub.attach(ca.uhn.hl7v2.app.ConnectionData data) ConnectionHub.attach(DefaultHapiContext hapiContext, String host, int port, boolean tls) ConnectionHub.attach(DefaultHapiContext hapiContext, String host, int outboundPort, int inboundPort, boolean tls) Returns a Connection to the given address, opening this Connection if necessary.ConnectionHub.attach(String host, int outboundPort, int inboundPort, Parser parser, LowerLayerProtocol llp, boolean tls) ConnectionHub.attach(String host, int outboundPort, int inboundPort, Parser parser, LowerLayerProtocol llp, boolean tls, SocketFactory socketFactory) ConnectionHub.attach(String host, int outboundPort, int inboundPort, Parser parser, Class<? extends LowerLayerProtocol> llpClass) ConnectionHub.attach(String host, int outboundPort, int inboundPort, Parser parser, Class<? extends LowerLayerProtocol> llpClass, boolean tls) ConnectionHub.attach(String host, int port, Parser parser, LowerLayerProtocol llp) ConnectionHub.attach(String host, int port, Parser parser, LowerLayerProtocol llp, boolean tls) ConnectionHub.attach(String host, int port, Parser parser, LowerLayerProtocol llp, boolean tls, SocketFactory socketFactory) ConnectionHub.attach(String host, int port, Parser parser, Class<? extends LowerLayerProtocol> llpClass) ConnectionHub.attach(String host, int port, Parser parser, Class<? extends LowerLayerProtocol> llpClass, boolean tls) ConnectionHub.attachLazily(DefaultHapiContext hapiContext, String host, int port, boolean tls) ConnectionHub.attachLazily(DefaultHapiContext hapiContext, String host, int outboundPort, int inboundPort, boolean tls) ConnectionHub.attachLazily(String host, int port, boolean tls) Returns a Connection to the given address, opening this Connection if necessary.ConnectionHub.attachLazily(String host, int outboundPort, int inboundPort, boolean tls) ConnectionHub.attachLazily(String host, int outboundPort, int inboundPort, Parser parser, LowerLayerProtocol llp, boolean tls) ConnectionHub.attachLazily(String host, int outboundPort, int inboundPort, Parser parser, LowerLayerProtocol llp, boolean tls, SocketFactory socketFactory) ConnectionHub.attachLazily(String host, int outboundPort, int inboundPort, Parser parser, Class<? extends LowerLayerProtocol> llpClass) ConnectionHub.attachLazily(String host, int outboundPort, int inboundPort, Parser parser, Class<? extends LowerLayerProtocol> llpClass, boolean tls) ConnectionHub.attachLazily(String host, int port, Parser parser, LowerLayerProtocol llp) ConnectionHub.attachLazily(String host, int port, Parser parser, LowerLayerProtocol llp, boolean tls) ConnectionHub.attachLazily(String host, int port, Parser parser, LowerLayerProtocol llp, boolean tls, SocketFactory socketFactory) ConnectionHub.getKnownConnection(ca.uhn.hl7v2.app.ConnectionData key) HL7Service.getRemoteConnection(String ipAddress) Returns a connection to a remote host that was initiated by the given remote host.Methods in ca.uhn.hl7v2.app that return types with arguments of type ConnectionModifier and TypeMethodDescriptionHL7Service.getRemoteConnections()Returns all currently active connections.Methods in ca.uhn.hl7v2.app with parameters of type ConnectionModifier and TypeMethodDescriptionvoidConnectionListener.connectionDiscarded(Connection c) Notifies the listener that a new connection is closed and is being discarded.voidConnectionListener.connectionReceived(Connection c) Notifies the listener that a new connection has been opened.voidConnectionHub.detach(Connection c) Informs the ConnectionHub that you are done with the given Connection - if no other code is using it, it will be closed, so you should not attempt to use a Connection after detaching from it.voidConnectionHub.discard(Connection c) Closes and discards the given Connection so that it can not be returned in subsequent calls to attach().