Package org.apache.sshd.common.io.nio2
Class Nio2Connector.ConnectionCompletionHandler
- java.lang.Object
-
- org.apache.sshd.common.io.nio2.Nio2CompletionHandler<Void,Object>
-
- org.apache.sshd.common.io.nio2.Nio2Connector.ConnectionCompletionHandler
-
- All Implemented Interfaces:
CompletionHandler<Void,Object>
- Enclosing class:
- Nio2Connector
protected class Nio2Connector.ConnectionCompletionHandler extends Nio2CompletionHandler<Void,Object>
-
-
Field Summary
Fields Modifier and Type Field Description protected AttributeRepository
context
protected IoConnectFuture
future
protected IoHandler
handler
protected PropertyResolver
propertyResolver
protected AsynchronousSocketChannel
socket
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConnectionCompletionHandler(IoConnectFuture future, AsynchronousSocketChannel socket, AttributeRepository context, PropertyResolver propertyResolver, IoHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
onCompleted(Void result, Object attachment)
protected void
onFailed(Throwable exc, Object attachment)
-
Methods inherited from class org.apache.sshd.common.io.nio2.Nio2CompletionHandler
completed, failed
-
-
-
-
Field Detail
-
future
protected final IoConnectFuture future
-
socket
protected final AsynchronousSocketChannel socket
-
context
protected final AttributeRepository context
-
propertyResolver
protected final PropertyResolver propertyResolver
-
handler
protected final IoHandler handler
-
-
Constructor Detail
-
ConnectionCompletionHandler
protected ConnectionCompletionHandler(IoConnectFuture future, AsynchronousSocketChannel socket, AttributeRepository context, PropertyResolver propertyResolver, IoHandler handler)
-
-
Method Detail
-
onCompleted
protected void onCompleted(Void result, Object attachment)
- Specified by:
onCompleted
in classNio2CompletionHandler<Void,Object>
-
-