|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransportLayer
Encapsulates the transport layer of a connection to another HL7 server. This is the layer responsible for sending and receiving message strings. The underlying protocol used is implementation dependent, that is there may be transport layers that are implemented over email, or JMS, or HTTP.
Method Summary | |
---|---|
void |
connect()
Initializes a connection to the remote server. |
void |
disconnect()
Drops any existing connection to the remote server. |
java.util.Map |
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. |
Method Detail |
---|
void send(Transportable theMessage) throws TransportException
theMessage
- the message to send
TransportException
Transportable receive() throws TransportException
TransportException
java.util.Map getCommonMetadata()
void connect() throws TransportException
TransportException
boolean isConnected()
void disconnect() throws TransportException
TransportException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |