se.entra.phantom.server
Interface ClientSessionListener

All Known Implementing Classes:
TestConnector

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

onConnect

void onConnect(ClientSession cs)
Called when the client session has been established.

Parameters:
cs - The client session.

onClientInitialize

void onClientInitialize(ClientSession cs,
                        VirtualSessionManager vsm)
Called when the client is initialized, but before any panel session, application panel, etc has been created.

Parameters:
cs - The client session.
vsm - The VirtualSessionManager instance of the client session.

onError

void onError(ClientSession cs,
             Throwable t)
Called when the client session has caused an error and will eventually be disposed of.

Parameters:
cs - The client session.
t - The Throwable that caused the client session error.

onDispose

void onDispose(ClientSession cs)
Called when the client session is going to be disposed.

Parameters:
cs - The client session.

onDisposed

void onDisposed(ClientSession cs)
Called when the client session has been disposed of, typically to let the connector perform some kind of clean up.

Parameters:
cs - The client session.


Phantom® and NetPhantom® are registered trademarks of Codectica Systems SARL.
© Copyright Codectica Systems SARL, 2008. All rights reserved.