|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectse.entra.phantom.server.ClientCommunicationAdapter
public abstract class ClientCommunicationAdapter
This convenience adapter class imlements the interface of 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.
| Constructor Summary | |
|---|---|
ClientCommunicationAdapter()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientCommunicationAdapter()
| Method Detail |
|---|
public void onClientChange(ClientSession clientSession)
onClientChange in interface ClientCommunicationListenerpublic void onHostChange(ClientSession clientSession)
onHostChange in interface ClientCommunicationListener
public void onHostSessionFailure(ClientSession clientSession,
String description)
onHostSessionFailure in interface ClientCommunicationListenerpublic void onDisplayTerminal(ClientSession clientSession)
onDisplayTerminal in interface ClientCommunicationListenerpublic void onRemoveTerminal(ClientSession clientSession)
onRemoveTerminal in interface ClientCommunicationListenerpublic boolean isClientTerminalDisplayed(ClientSession clientSession)
isClientTerminalDisplayed in interface ClientCommunicationListenerpublic void onSoundAlarm(ClientSession clientSession)
onSoundAlarm in interface ClientCommunicationListenerpublic boolean onExitApplication(ClientSession clientSession)
onExitApplication in interface ClientCommunicationListenerpublic void onClientInactivity(ClientSession clientSession)
onClientInactivity in interface ClientCommunicationListenerpublic void onClientDispose(ClientSession clientSession)
onClientDispose in interface ClientCommunicationListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||