public interface NioConnectCallback
Modifier and Type | Method and Description |
---|---|
void |
connectDone(AbstractNioManager.NioIdentifier identifier)
A callback to notify that the connection attempt has succeeded.
|
void |
connectFailed(java.lang.Exception e)
A callback to notify that the connection attempt failed.
|
NioCallback |
getNioCallback()
Return the NioCallback to use netfor this connection.
|
void connectDone(AbstractNioManager.NioIdentifier identifier)
identifier
- The NioIdentifier needed to call send() and disconnect().void connectFailed(java.lang.Exception e)
e
- An Exception explaining the failure.NioCallback getNioCallback()