private final class FsSyncController.Nio2Input extends FsSyncController.Input
| Constructor and Description |
|---|
FsSyncController.Nio2Input(InputSocket<?> input) |
| 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. |
getLocalTarget, getPeerTarget, newInputStream, newReadOnlyFilegetDelegate, toStringgetBoundSocketbindFsSyncController.Nio2Input(InputSocket<?> input)
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 DelegatingInputSocket<Entry>IOException - on any I/O error.Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.