public static interface SocketWrapperBase.CompletionCheck
Modifier and Type | Method and Description |
---|---|
SocketWrapperBase.CompletionHandlerCall |
callHandler(SocketWrapperBase.CompletionState state,
ByteBuffer[] buffers,
int offset,
int length)
Return true if enough data has been read or written and the
handler should be notified.
|
SocketWrapperBase.CompletionHandlerCall callHandler(SocketWrapperBase.CompletionState state, ByteBuffer[] buffers, int offset, int length)
state
- of the operation (done or done inline since the
IO call is done)buffers
- ByteBuffer[] that has been passed to the
original IO calloffset
- that has been passed to the original IO calllength
- that has been passed to the original IO callCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.