@Immutable private final class IOCache.Buffer.Nio2BufferInputSocket extends IOCache.Buffer.BufferInputSocket
| Modifier | Constructor and Description |
|---|---|
private |
IOCache.Buffer.Nio2BufferInputSocket() |
| Modifier and Type | Method and Description |
|---|---|
SeekableByteChannel |
newSeekableByteChannel()
Optional: Returns a new seekable byte channel for reading bytes
from the
local target in arbitrary order. |
newInputStream, newReadOnlyFilegetBoundSocket, getLocalTarget, getPeerTarget, toStringbind, connectprivate IOCache.Buffer.Nio2BufferInputSocket()
public SeekableByteChannel newSeekableByteChannel() throws IOException
InputSocketlocal 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 DecoratingInputSocket<Entry>IOException - on any I/O error.Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.