|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface BayeuxServer.SubscriptionListener
Specialized listener for ServerChannel subscription events.
This listener is called when a subscribe message or an unsubscribe message
occurs for any channel known to the BayeuxServer.
This interface the correspondent of the ServerChannel.SubscriptionListener
interface, but it is invoked for any session and any channel known to the
BayeuxServer.
| Method Summary | |
|---|---|
void |
subscribed(ServerSession session,
ServerChannel channel)
Callback invoked when a ServerSession subscribes to a ServerChannel. |
void |
unsubscribed(ServerSession session,
ServerChannel channel)
Callback invoked when a ServerSession unsubscribes from a ServerChannel. |
| Method Detail |
|---|
void subscribed(ServerSession session,
ServerChannel channel)
ServerSession subscribes to a ServerChannel.
session - the session that subscribeschannel - the channel to subscribe to
void unsubscribed(ServerSession session,
ServerChannel channel)
ServerSession unsubscribes from a ServerChannel.
session - the session that unsubscribeschannel - the channel to unsubscribe from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||