public static interface ServerChannel.SubscriptionListener extends ServerChannel.ServerChannelListener
Listeners object that implement this interface will be notified of subscription events.
ServerChannel.ServerChannelListener.Weak| Modifier and Type | Method and Description |
|---|---|
void |
subscribed(ServerSession session,
ServerChannel channel)
Callback invoked when the given
ServerSession subscribes to the given ServerChannel. |
void |
unsubscribed(ServerSession session,
ServerChannel channel)
Callback invoked when the given
ServerSession unsubscribes from the given ServerChannel. |
void subscribed(ServerSession session, ServerChannel channel)
Callback invoked when the given ServerSession subscribes to the given ServerChannel.
session - the session that subscribeschannel - the channel the session subscribes tovoid unsubscribed(ServerSession session, ServerChannel channel)
Callback invoked when the given ServerSession unsubscribes from the given ServerChannel.
session - the session that unsubscribeschannel - the channel the session unsubscribes fromCopyright © 2008-2012 Dojo Foundation. All Rights Reserved.