|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISessionListener
This interface must be implemented by the application session listeners. Session listeners are application objects that are invoked when a client connection is established or closed.
| Method Summary | |
|---|---|
void |
init()
Called by the server when the session listener is initialized. |
void |
sessionClosed(IConnectionContext session)
Called by the server when the client specified by the session instance disconnects. |
void |
sessionOpened(IConnectionContext session)
Called by the server when a connection is calling an application command for the first time. |
| Method Detail |
|---|
void init()
throws InitSessionListenerException
InitSessionListenerException - When a Throwable is thrown inside the call.void sessionOpened(IConnectionContext session)
session - The client connection.void sessionClosed(IConnectionContext session)
session - The client connection.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||