protected class Nio2Connector.ConnectionCompletionHandler extends Nio2CompletionHandler<Void,Object>
Modifier and Type | Field and Description |
---|---|
protected IoConnectFuture |
future |
protected IoHandler |
handler |
protected FactoryManager |
manager |
protected AsynchronousSocketChannel |
socket |
Modifier | Constructor and Description |
---|---|
protected |
ConnectionCompletionHandler(IoConnectFuture future,
AsynchronousSocketChannel socket,
FactoryManager manager,
IoHandler handler) |
Modifier and Type | Method and Description |
---|---|
protected void |
onCompleted(Void result,
Object attachment) |
protected void |
onFailed(Throwable exc,
Object attachment) |
completed, failed
protected final IoConnectFuture future
protected final AsynchronousSocketChannel socket
protected final FactoryManager manager
protected final IoHandler handler
protected ConnectionCompletionHandler(IoConnectFuture future, AsynchronousSocketChannel socket, FactoryManager manager, IoHandler handler)
protected void onCompleted(Void result, Object attachment)
onCompleted
in class Nio2CompletionHandler<Void,Object>
Copyright © 2008–2018 The Apache Software Foundation. All rights reserved.