All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
protected Nio2CompletionHandler<Integer,Object> |
createReadCycleCompletionHandler(ByteBuffer buffer,
Readable bufReader) |
protected Nio2CompletionHandler<Integer,Object> |
createWriteCycleCompletionHandler(Nio2DefaultIoWriteFuture future,
AsynchronousSocketChannel socket,
ByteBuffer buffer) |
protected CloseFuture |
doCloseGracefully() |
protected void |
doCloseImmediately() |
protected void |
doReadCycle(ByteBuffer buffer,
Nio2CompletionHandler<Integer,Object> completion) |
protected void |
doReadCycle(ByteBuffer buffer,
Readable bufReader) |
protected void |
doWriteCycle(ByteBuffer buffer,
Nio2CompletionHandler<Integer,Object> completion) |
protected void |
exceptionCaught(Throwable exc) |
protected void |
finishWrite(Nio2DefaultIoWriteFuture future) |
SocketAddress |
getAcceptanceAddress() |
Object |
getAttribute(Object key) |
long |
getId() |
IoHandler |
getIoHandler() |
SocketAddress |
getLocalAddress() |
SocketAddress |
getRemoteAddress() |
Nio2Service |
getService() |
AsynchronousSocketChannel |
getSocket() |
protected void |
handleCompletedWriteCycle(Nio2DefaultIoWriteFuture future,
AsynchronousSocketChannel socket,
ByteBuffer buffer,
int writeLen,
Nio2CompletionHandler<Integer,Object> completionHandler,
Integer result,
Object attachment) |
protected void |
handleReadCycleCompletion(ByteBuffer buffer,
Readable bufReader,
Nio2CompletionHandler<Integer,Object> completionHandler,
Integer result,
Object attachment) |
protected void |
handleReadCycleFailure(ByteBuffer buffer,
Readable bufReader,
Throwable exc,
Object attachment) |
protected void |
handleWriteCycleFailure(Nio2DefaultIoWriteFuture future,
AsynchronousSocketChannel socket,
ByteBuffer buffer,
int writeLen,
Throwable exc,
Object attachment) |
Object |
removeAttribute(Object key) |
void |
resumeRead() |
Object |
setAttribute(Object key,
Object value) |
Object |
setAttributeIfAbsent(Object key,
Object value) |
void |
shutdownOutputStream() |
void |
startReading() |
void |
startReading(byte[] buf) |
void |
startReading(byte[] buf,
int offset,
int len) |
void |
startReading(ByteBuffer buffer) |
void |
startReading(int bufSize) |
protected void |
startWriting() |
void |
suspend() |
void |
suspendRead() |
String |
toString() |
IoWriteFuture |
writeBuffer(Buffer buffer) |