|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClientSessionListener
This interface is used by the Connector to register itself as a listener for the client session events such as Connect/Dispose.
| Method Summary | |
|---|---|
void |
onClientInitialize(ClientSession cs,
VirtualSessionManager vsm)
Called when the client is initialized, but before any panel session, application panel, etc has been created. |
void |
onConnect(ClientSession cs)
Called when the client session has been established. |
void |
onDispose(ClientSession cs)
Called when the client session is going to be disposed. |
void |
onDisposed(ClientSession cs)
Called when the client session has been disposed of, typically to let the connector perform some kind of clean up. |
void |
onError(ClientSession cs,
Throwable t)
Called when the client session has caused an error and will eventually be disposed of. |
| Method Detail |
|---|
void onConnect(ClientSession cs)
cs - The client session.
void onClientInitialize(ClientSession cs,
VirtualSessionManager vsm)
cs - The client session.vsm - The VirtualSessionManager instance of the client session.
void onError(ClientSession cs,
Throwable t)
cs - The client session.t - The Throwable that caused the client session error.void onDispose(ClientSession cs)
cs - The client session.void onDisposed(ClientSession cs)
cs - The client session.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||