public class ClientSessionAdapter extends Object implements ClientSessionListener
| Constructor and Description |
|---|
ClientSessionAdapter() |
| 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. |
public void onConnect(ClientSession cs)
onConnect in interface ClientSessionListenercs - The client session.public void onClientInitialize(ClientSession cs, VirtualSessionManager vsm)
onClientInitialize in interface ClientSessionListenercs - The client session.vsm - The VirtualSessionManager instance of the client session.public void onError(ClientSession cs, Throwable t)
onError in interface ClientSessionListenercs - The client session.t - The Throwable that caused the client session error.public void onDispose(ClientSession cs)
onDispose in interface ClientSessionListenercs - The client session.public void onDisposed(ClientSession cs)
onDisposed in interface ClientSessionListenercs - The client session.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.