ca.uhn.hl7v2.llp
Class ExtendedMinLLPWriter

java.lang.Object
  extended by ca.uhn.hl7v2.llp.ExtendedMinLLPWriter
All Implemented Interfaces:
HL7Writer

public class ExtendedMinLLPWriter
extends Object
implements HL7Writer

MLLP writer which uses the charset from the message being transmitted


Constructor Summary
ExtendedMinLLPWriter(OutputStream theOut)
           
 
Method Summary
 void close()
          Closes the underlying stream and any other resources that should be closed.
 void setOutputStream(OutputStream theOut)
          Sets the OutputStream to which to write messages.
 void writeMessage(String theMessage)
          Sends a complete message to the underlying output stream using the lower layer protocol implemented by this HL7Writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedMinLLPWriter

public ExtendedMinLLPWriter(OutputStream theOut)
Method Detail

writeMessage

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

Specified by:
writeMessage in interface HL7Writer
Throws:
LLPException
IOException

setOutputStream

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

Specified by:
setOutputStream in interface HL7Writer
Throws:
IOException

close

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

Specified by:
close in interface HL7Writer
Throws:
IOException


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