|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.uhn.hl7v2.llp.LowerLayerProtocol
public abstract class LowerLayerProtocol
Represents a particular "lower layer protocol" over which HL7 messages can be
sent. An example is the "minimal lower layer protocol" defines in the HL7
implementation guide (appendix C) - this is implemented by the class
MinLowerLayerProtocol. Implementations should call the static method
logCharacterReceived()
when a character is read from a remote system.
This method may or may not log receipt, as configured (see docs for this method).
Constructor Summary | |
---|---|
protected |
LowerLayerProtocol()
Creates a new LowerLayerProtocol. |
Method Summary | |
---|---|
abstract HL7Reader |
getReader(java.io.InputStream in)
Returns an HL7Reader that implements message reading according to this protocol. |
abstract HL7Writer |
getWriter(java.io.OutputStream out)
Returns an HL7Writer that implements message writing according to this protocol. |
static void |
logCharacterReceived(int c)
Logs the fact that a character has been received, if configured to do so. |
static LowerLayerProtocol |
makeLLP()
Returns a particular implementation of LowerLayerProtocol. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LowerLayerProtocol()
Method Detail |
---|
public static LowerLayerProtocol makeLLP()
public abstract HL7Reader getReader(java.io.InputStream in) throws LLPException
LLPException
public abstract HL7Writer getWriter(java.io.OutputStream out) throws LLPException
LLPException
public static void logCharacterReceived(int c)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |