|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.protocol.impl.AbstractTransport
ca.uhn.hl7v2.protocol.impl.MLLPTransport
public class MLLPTransport
An implementation of the HL7 Minimal Lower Layer Protocol (see HL7 implementation guide appendix C). Note that this is the most common protocol used in HL7 interfaces.
| Constructor Summary | |
|---|---|
MLLPTransport(StreamSource theStreamSource)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class ca.uhn.hl7v2.protocol.impl.AbstractTransport |
|---|
connect, disconnect, getCommonMetadata, isConnected, receive, send |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ca.uhn.hl7v2.protocol.TransportLayer |
|---|
connect, disconnect, getCommonMetadata, isConnected, receive, send |
| Constructor Detail |
|---|
public MLLPTransport(StreamSource theStreamSource)
throws TransportException
theStreamSource - the provider of input and output streams connected
to the remote server
TransportException| Method Detail |
|---|
public void doSend(Transportable theMessage)
throws TransportException
AbstractTransport
doSend in class AbstractTransportTransportExceptionca.uhn.hl7v2.protocol.AstractTransport#doSend(ca.uhn.hl7v2.protocol.Transportable)
public Transportable doReceive()
throws TransportException
AbstractTransport
doReceive in class AbstractTransportTransportExceptionAbstractTransport.doReceive()
public void doConnect()
throws TransportException
AbstractTransport
doConnect in class AbstractTransportTransportExceptionca.uhn.hl7v2.protocol.AbstractTransport#doConnect()
public void doDisconnect()
throws TransportException
AbstractTransport
doDisconnect in class AbstractTransportTransportExceptionTransportLayer.disconnect()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||