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 sendTransportException
Transportable receive() throws TransportException
TransportException
Map<String,Object> getCommonMetadata()
void connect() throws TransportException
TransportException
boolean isConnected()
void disconnect() throws TransportException
TransportException
Copyright © 2001–2017 University Health Network. All rights reserved.