ca.uhn.hl7v2.llp
Interface HL7Reader

All Known Implementing Classes:
ExtendedMinLLPReader, MinLLPReader

public interface HL7Reader

An HL7Reader implements reading from an input stream using a particular lower layer protocol.

Author:
Bryan Tripp

Method Summary
 void close()
          Closes the underlying stream and any other resources that should be closed.
 String getMessage()
          Reads a complete HL7 message from the underlying input stream
 void setInputStream(InputStream in)
          Sets the InputStream from which to read messages.
 

Method Detail

getMessage

String getMessage()
                  throws LLPException,
                         IOException
Reads a complete HL7 message from the underlying input stream

Throws:
LLPException
IOException

setInputStream

void setInputStream(InputStream in)
                    throws IOException
Sets the InputStream from which to read messages. The InputStream must be set before any calls to getMessage().

Throws:
IOException

close

void close()
           throws IOException
Closes the underlying stream and any other resources that should be closed.

Throws:
IOException


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