OSMQ
v2.0.1

osmq.io
Interface WriterStream

All Known Implementing Classes:
PacketOutputStream, StringOutputStream

public interface WriterStream


Method Summary
 void close()
           
 void flush()
           
 void println(java.lang.String s)
           
 void writeBytes(byte[] value)
           
 void writeNull()
          Writes a null object to the stream which is ignored by the corresponding ReaderStream.
 

Method Detail

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Throws:
java.io.IOException

writeNull

public void writeNull()
               throws java.io.IOException
Writes a null object to the stream which is ignored by the corresponding ReaderStream. This method is used for testing whether a socket stream is still active.

Throws:
java.io.IOException

println

public void println(java.lang.String s)
             throws java.io.IOException
Throws:
java.io.IOException

writeBytes

public void writeBytes(byte[] value)
                throws java.io.IOException
Throws:
java.io.IOException

(c) 2000 - 2003 MQue Systems
All Rights Reserved