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, send
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connect, disconnect, getCommonMetadata, isConnected, receive, send
public MLLPTransport(StreamSource theStreamSource) throws TransportException
theStreamSource
- the provider of input and output streams connected
to the remote serverTransportException
public void doSend(Transportable theMessage) throws TransportException
AbstractTransport
doSend
in class AbstractTransport
TransportException
ca.uhn.hl7v2.protocol.AstractTransport#doSend(ca.uhn.hl7v2.protocol.Transportable)
public Transportable doReceive() throws TransportException
AbstractTransport
doReceive
in class AbstractTransport
TransportException
AbstractTransport.doReceive()
public void doConnect() throws TransportException
AbstractTransport
doConnect
in class AbstractTransport
TransportException
ca.uhn.hl7v2.protocol.AbstractTransport#doConnect()
public void doDisconnect() throws TransportException
AbstractTransport
doDisconnect
in class AbstractTransport
TransportException
TransportLayer.disconnect()
Copyright © 2001–2017 University Health Network. All rights reserved.