protected class Nio2Acceptor.AcceptCompletionHandler extends Nio2CompletionHandler<AsynchronousSocketChannel,SocketAddress>
| Modifier and Type | Field and Description |
|---|---|
protected AsynchronousServerSocketChannel |
socket |
| Modifier and Type | Method and Description |
|---|---|
protected Nio2Session |
createSession(Nio2Acceptor acceptor,
SocketAddress address,
AsynchronousSocketChannel channel,
IoHandler handler) |
protected boolean |
okToReaccept(Throwable exc,
SocketAddress address) |
protected void |
onCompleted(AsynchronousSocketChannel result,
SocketAddress address) |
protected void |
onFailed(Throwable exc,
SocketAddress address) |
completed, failedprotected final AsynchronousServerSocketChannel socket
protected void onCompleted(AsynchronousSocketChannel result, SocketAddress address)
onCompleted in class Nio2CompletionHandler<AsynchronousSocketChannel,SocketAddress>protected Nio2Session createSession(Nio2Acceptor acceptor, SocketAddress address, AsynchronousSocketChannel channel, IoHandler handler) throws Throwable
Throwableprotected void onFailed(Throwable exc, SocketAddress address)
onFailed in class Nio2CompletionHandler<AsynchronousSocketChannel,SocketAddress>protected boolean okToReaccept(Throwable exc, SocketAddress address)
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.