Package ca.uhn.hl7v2.app
Interface Connection
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
ActiveConnection,LazyConnection
Interface for a connection
-
Method Details
-
activate
void activate()Activate this connection -
getInitiator
Returns an Initiator instance- Returns:
-
isOpen
boolean isOpen()Returns true if this connection is open- Returns:
- true if this connection is open
-
getRemoteAddress
Returns the address on the remote end of this connection. Note that in the case of aLazyConnectionthis method may returnnull.- See Also:
-
getExecutorService
-
getRemotePort
Returns the port on the remote end of this connection. Note that in the case of aLazyConnectionthis method may returnnull.- See Also:
-