|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ServerChannel.SubscriptionListener
Listeners object that implement this interface will be notified of subscription events.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void subscribed(ServerSession session,
ServerChannel channel)
ServerSession subscribes to the given ServerChannel.
session - the session that subscribeschannel - the channel the session subscribes to
void unsubscribed(ServerSession session,
ServerChannel channel)
ServerSession unsubscribes from the given ServerChannel.
session - the session that unsubscribeschannel - the channel the session unsubscribes from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||