@Immutable final class IOCache.Buffer.Nio2BufferInputSocket extends IOCache.Buffer.BufferInputSocket
| Constructor and Description |
|---|
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, newReadOnlyFilegetDelegate, toStringgetBoundSocket, getLocalTarget, getPeerTargetbind, connectpublic 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 DelegatingInputSocket<Entry>IOException - on any I/O error.Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.