public class: ZOutputStream
All Implemented Interfaces:
This object models an output stream that sends data through a Connector instance.
Everything is written to this output stream becomes a ZObject instance and gets sent through
|protected Connector ||conn ||The connector responsible for real sending. |
|Method from java.net.ZOutputStream Summary:|
|Methods from java.lang.Object:|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait|
|Method from java.net.ZOutputStream Detail:|
public void flush() throws IOException
This method really sends the stored data (if any) from the underlying ByteArrayOutputStream through
the connector to the socket.
After data sending, the underlying stream is reset to the empty state.
public void write(byte b,
This method writes the buffer to the underlying ByteArrayOutputStream and then flushes it
using the connector through the flush method.