public interface ClientSessionListener
Modifier and Type | Method and Description |
---|---|
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.
|
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.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.