public class MLLPTransport extends AbstractTransport implements TransportLayer
| Constructor and Description |
|---|
MLLPTransport(StreamSource theStreamSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
doConnect()
Performs connection as described in TransportLayer.connect().
|
void |
doDisconnect()
Performs disconnection as described in TransportLayer.disconnect().
|
Transportable |
doReceive()
Called by receive(), which then adds common metadata.
|
void |
doSend(Transportable theMessage)
The method send() delegates to this method after checking whether we are
connected.
|
connect, disconnect, getCommonMetadata, isConnected, receive, sendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnect, disconnect, getCommonMetadata, isConnected, receive, sendpublic MLLPTransport(StreamSource theStreamSource) throws TransportException
theStreamSource - the provider of input and output streams connected
to the remote serverTransportExceptionpublic void doSend(Transportable theMessage) throws TransportException
AbstractTransportdoSend in class AbstractTransportTransportExceptionca.uhn.hl7v2.protocol.AstractTransport#doSend(ca.uhn.hl7v2.protocol.Transportable)public Transportable doReceive() throws TransportException
AbstractTransportdoReceive in class AbstractTransportTransportExceptionAbstractTransport.doReceive()public void doConnect() throws TransportException
AbstractTransportdoConnect in class AbstractTransportTransportExceptionca.uhn.hl7v2.protocol.AbstractTransport#doConnect()public void doDisconnect() throws TransportException
AbstractTransportdoDisconnect in class AbstractTransportTransportExceptionTransportLayer.disconnect()Copyright © 2001–2017 University Health Network. All rights reserved.