public interface NioAcceptCallback
Modifier and Type | Method and Description |
---|---|
NioCallback |
acceptDone(AbstractNioManager.NioIdentifier identifier)
A callback to notify that a connection has been accepted.
|
void |
acceptFailed(java.lang.Exception e)
A callback to notify that there was an error accepting a connection.
|
NioCallback acceptDone(AbstractNioManager.NioIdentifier identifier)
identifier
- The NioIdentifier needed to call send() and disconnect().void acceptFailed(java.lang.Exception e)
e
- An Exception explaining the failure.