|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface BayeuxServer.ChannelListener
Specialized listener for ServerChannel events.
The ServerChannel.Initializer#configureChannel(ConfigurableServerChannel)
method is called atomically during Channel creation so that the channel may be configured
before use. It is guaranteed that in case of concurrent channel creation, the
ServerChannel.Initializer#configureChannel(ConfigurableServerChannel) is
invoked exactly once.
The other methods are called asynchronously when a channel is added to or removed
from a BayeuxServer, and there is no guarantee that these methods will be called
before any other server channel listeners
that may be added during channel configuration.
| Method Summary | |
|---|---|
void |
channelAdded(ServerChannel channel)
Callback invoked when a ServerChannel has been added to a BayeuxServer object. |
void |
channelRemoved(String channelId)
Callback invoked when a ServerChannel has been removed from a BayeuxServer object. |
| Methods inherited from interface org.cometd.bayeux.server.ConfigurableServerChannel.Initializer |
|---|
configureChannel |
| Method Detail |
|---|
void channelAdded(ServerChannel channel)
ServerChannel has been added to a BayeuxServer object.
channel - the channel that has been addedvoid channelRemoved(String channelId)
ServerChannel has been removed from a BayeuxServer object.
channelId - the channel identifier of the channel that has been removed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||