ca.uhn.hl7v2.llp
Interface HL7Reader

All Known Implementing Classes:
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.
 java.lang.String getMessage()
          Reads a complete HL7 message from the underlying input stream
 void setInputStream(java.io.InputStream in)
          Sets the InputStream from which to read messages.
 

Method Detail

getMessage

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

Throws:
LLPException
java.io.IOException

setInputStream

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

Throws:
java.io.IOException

close

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

Throws:
java.io.IOException


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