public static interface ChannelAcceptor.Listener
| Modifier and Type | Method and Description |
|---|---|
void |
accepted(Channel channel)
Called as soon as a channel has been accepted.
|
void |
closed(IOException cause)
Called when channel cannot be accepted because acceptor is
closed.
|
void |
failed(IOException cause)
Called when channel cannot be accepted, but does not imply that
acceptor is closed.
|
void |
rejected(RejectedException cause)
Called if no threads are available to invoke any listeners, but does
not imply that acceptor is closed.
|
void accepted(Channel channel)
void rejected(RejectedException cause)
void failed(IOException cause)
void closed(IOException cause)
Copyright © 2006–2015 Cojen. All rights reserved.