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