public class WritableBbqChannel extends AbstractBbqChannel implements WritableJslipcByteChannel
WritableBbqChannel
implementation that writes the data to an underlying
ByteBufferQueue
.JslipcChannel.JslipcChannelState
closed, queue
Constructor and Description |
---|
WritableBbqChannel(ByteBufferQueue queue) |
Modifier and Type | Method and Description |
---|---|
OutputStream |
newOutputStream() |
int |
write(ByteBuffer src) |
checkClosed, close, getState, getTimeout, isOpen, setTimeout, sleep, waitForInitialization, waitForNonEmpty, waitForNonFull
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getState
public WritableBbqChannel(ByteBufferQueue queue)
public int write(ByteBuffer src) throws IOException
write
in interface WritableByteChannel
IOException
public OutputStream newOutputStream()
Copyright © 2014. All Rights Reserved.