ca.uhn.hl7v2.llp
Interface HL7Writer

All Known Implementing Classes:
MinLLPWriter

public interface HL7Writer

An HL7Writer implements writing to an output 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.
 void setOutputStream(java.io.OutputStream out)
          Sets the OutputStream to which to write messages.
 void writeMessage(java.lang.String message)
          Sends a complete message to the underlying output stream using the lower layer protocol implemented by this HL7Writer.
 

Method Detail

writeMessage

void writeMessage(java.lang.String message)
                  throws LLPException,
                         java.io.IOException
Sends a complete message to the underlying output stream using the lower layer protocol implemented by this HL7Writer.

Throws:
LLPException
java.io.IOException

setOutputStream

void setOutputStream(java.io.OutputStream out)
                     throws java.io.IOException
Sets the OutputStream to which to write messages. The OutputStream must be set before any calls to ().

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.