public interface TransportLayer
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Initializes a connection to the remote server.
|
void |
disconnect()
Drops any existing connection to the remote server.
|
Map<String,Object> |
getCommonMetadata() |
boolean |
isConnected() |
Transportable |
receive()
Gets the next message from the remote system.
|
void |
send(Transportable theMessage)
Sends a message to a remote HL7 service.
|
void send(Transportable theMessage) throws TransportException
theMessage - the message to sendTransportExceptionTransportable receive() throws TransportException
TransportExceptionMap<String,Object> getCommonMetadata()
void connect() throws TransportException
TransportExceptionboolean isConnected()
void disconnect() throws TransportException
TransportExceptionCopyright © 2001–2017 University Health Network. All rights reserved.