public static interface Channel.Listener
| Modifier and Type | Method and Description |
|---|---|
void |
closed(IOException cause)
Called if listener notification failed because channel is closed.
|
void |
ready()
Called when bytes can be read or written to channel, depending on
how listener was registered.
|
void |
rejected(RejectedException cause)
Called if no threads are available to invoke any listeners, but does
not imply that channel is closed.
|
void ready()
void rejected(RejectedException cause)
void closed(IOException cause)
Copyright © 2006–2015 Cojen. All rights reserved.