Package 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
Modifier and TypeMethodDescriptionvoidclose()Closes the underlying stream and any other resources that should be closed.Reads a complete HL7 message from the underlying input streamvoidSets the InputStream from which to read messages.
-
Method Details
-
getMessage
Reads a complete HL7 message from the underlying input stream- Throws:
LLPExceptionIOException
-
setInputStream
Sets the InputStream from which to read messages. The InputStream must be set before any calls togetMessage().- Throws:
IOException
-
close
Closes the underlying stream and any other resources that should be closed.- Throws:
IOException
-