protected class Nio2Connector.ConnectionCompletionHandler extends Nio2CompletionHandler<Void,Object>
Modifier and Type | Field and Description |
---|---|
protected AttributeRepository |
context |
protected IoConnectFuture |
future |
protected IoHandler |
handler |
protected FactoryManager |
manager |
protected AsynchronousSocketChannel |
socket |
Modifier | Constructor and Description |
---|---|
protected |
ConnectionCompletionHandler(IoConnectFuture future,
AsynchronousSocketChannel socket,
AttributeRepository context,
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 AttributeRepository context
protected final FactoryManager manager
protected final IoHandler handler
protected ConnectionCompletionHandler(IoConnectFuture future, AsynchronousSocketChannel socket, AttributeRepository context, FactoryManager manager, IoHandler handler)
protected void onCompleted(Void result, Object attachment)
onCompleted
in class Nio2CompletionHandler<Void,Object>
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.