se.entra.phantom.server
Interface ClientCommunicationListener

All Known Implementing Classes:
ClientCommunicationAdapter, DefaultRemoteApplication, HtmlApplication

public interface ClientCommunicationListener

This interface is implemented by a non-NetPhantom Java Client such as e.g. a state-less HTTP session using a client session or an request-reply type of program requesting e.g. host data.


Method Summary
 boolean isClientTerminalDisplayed(ClientSession clientSession)
          Checks if the client is displaying the terminal window.
 void onClientChange(ClientSession clientSession)
          Notifies of a client change.
 void onClientDispose(ClientSession clientSession)
          Notifies of a client session disposal.
 void onClientInactivity(ClientSession clientSession)
          Called when the session has been inactive for a period of time.
 void onDisplayTerminal(ClientSession clientSession)
          Displays the terminal window.
 boolean onExitApplication(ClientSession clientSession)
          Called when local code (e.g.
 void onHostChange(ClientSession clientSession)
          Notifies of a host change.
 void onHostSessionFailure(ClientSession clientSession, String description)
          Notifies of a failure in a host session.
 void onRemoveTerminal(ClientSession clientSession)
          Removes the terminal window.
 void onSoundAlarm(ClientSession clientSession)
          Sound alarm on the client.
 

Method Detail

onClientChange

void onClientChange(ClientSession clientSession)
Notifies of a client change.


onHostChange

void onHostChange(ClientSession clientSession)
Notifies of a host change.


onHostSessionFailure

void onHostSessionFailure(ClientSession clientSession,
                          String description)
Notifies of a failure in a host session.


onDisplayTerminal

void onDisplayTerminal(ClientSession clientSession)
Displays the terminal window.


onRemoveTerminal

void onRemoveTerminal(ClientSession clientSession)
Removes the terminal window.


isClientTerminalDisplayed

boolean isClientTerminalDisplayed(ClientSession clientSession)
Checks if the client is displaying the terminal window.


onSoundAlarm

void onSoundAlarm(ClientSession clientSession)
Sound alarm on the client.


onExitApplication

boolean onExitApplication(ClientSession clientSession)
Called when local code (e.g. REXX) calls PanelExit, SessionExit or in some other way wants to exit this client session.


onClientInactivity

void onClientInactivity(ClientSession clientSession)
Called when the session has been inactive for a period of time.


onClientDispose

void onClientDispose(ClientSession clientSession)
Notifies of a client session disposal. This dispose may be induced by the system, an administrator or the implementor of this interface.



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