@Immutable final class IOCache.Buffer.Nio2BufferOutputSocket extends IOCache.Buffer.BufferOutputSocket
| Constructor and Description |
|---|
IOCache.Buffer.Nio2BufferOutputSocket() |
| Modifier and Type | Method and Description |
|---|---|
SeekableByteChannel |
newSeekableByteChannel()
Optional: Returns a new seekable byte channel for writing bytes
to the
local target in arbitrary order. |
newOutputStreamgetDelegate, toStringgetBoundSocket, getLocalTarget, getPeerTargetbind, connectpublic SeekableByteChannel newSeekableByteChannel() throws IOException
OutputSocketlocal target in arbitrary order.
If this method is supported, implementations must enable calling it any number of times. Furthermore, the returned seekable byte channel should not be buffered. Buffering should be addressed by client applications instead.
newSeekableByteChannel in class DelegatingOutputSocket<Entry>IOException - on any I/O error.Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.