ca.uhn.hl7v2.llp
Class MinLowerLayerProtocol

java.lang.Object
  extended by ca.uhn.hl7v2.llp.LowerLayerProtocol
      extended by ca.uhn.hl7v2.llp.MinLowerLayerProtocol

public class MinLowerLayerProtocol
extends LowerLayerProtocol

Implements the "Minimal Lower Layer Protocol" from the HL7 Implementation Guide, Appendix C. In other words, provides a reader and a writer that can be used to communicate with a server that uses the minimal LLP.

Author:
Bryan Tripp

Constructor Summary
MinLowerLayerProtocol()
          Creates new MinLowerLayerProtocol
 
Method Summary
 HL7Reader getReader(java.io.InputStream in)
          Creates an HL7Reader that implements message reading according to this protocol.
 HL7Writer getWriter(java.io.OutputStream out)
          Creates an HL7Writer that implements message writing according to this protocol.
 
Methods inherited from class ca.uhn.hl7v2.llp.LowerLayerProtocol
logCharacterReceived, makeLLP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinLowerLayerProtocol

public MinLowerLayerProtocol()
Creates new MinLowerLayerProtocol

Method Detail

getReader

public HL7Reader getReader(java.io.InputStream in)
                    throws LLPException
Creates an HL7Reader that implements message reading according to this protocol.

Specified by:
getReader in class LowerLayerProtocol
Throws:
LLPException

getWriter

public HL7Writer getWriter(java.io.OutputStream out)
                    throws LLPException
Creates an HL7Writer that implements message writing according to this protocol.

Specified by:
getWriter in class LowerLayerProtocol
Throws:
LLPException


Copyright © 2001-2011 University Health Network. All Rights Reserved.