| java.lang.Object java.io.OutputStream org.quickserver.util.io.ByteBufferOutputStream
ByteBufferOutputStream | public class ByteBufferOutputStream extends OutputStream (Code) | | This is an OutputStream constructed from list of ByteBuffers. This is
used in non-blocking mode.
since: 1.4.5 author: Akshathkumar Shetty |
ByteBufferOutputStream | public ByteBufferOutputStream(ArrayList bufferList, ClientHandler handler)(Code) | | Creates a new ByteBufferOutputStream using the given list as its base
and ClientHandler as the target channel.
|
close | public synchronized void close()(Code) | | |
forceNotify | public void forceNotify()(Code) | | |
isDataAvailableForWrite | public boolean isDataAvailableForWrite(Object toNotify)(Code) | | |
isLoggable | public static boolean isLoggable(Level level)(Code) | | since: 1.4.7 |
setDebug | public static void setDebug(boolean flag)(Code) | | Sets the debug flag. When debug is set to true
one can see number of bytes written.
|
write | public synchronized void write(byte[] b, int off, int len) throws IOException(Code) | | |
writeAllByteBuffer | public synchronized boolean writeAllByteBuffer() throws IOException(Code) | | |
|
|