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