public class PhantomEditor extends Object implements HostSessionManagerListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesScreenMatch(PhantomHostScreen phantomScreen)
Checks if a host screen currently matches.
|
Object |
getLockObject()
Gets a lock object that is used by all threads modifying the host screen.
|
static boolean |
handleConnection(AdminCommandProcessor acp)
Handles a new Phantom Editor connection.
|
void |
logInfo(String txt)
Logs an session pooling informational event in the event log.
|
void |
logWarning(String txt)
Logs an session pooling warning event in the event log.
|
void |
onHostConnectChange(boolean connected)
Informs that the current host session had a connection change.
|
void |
onHostCursorPositionChange(int x,
int y)
Informs that the cursor position has changed.
|
void |
onHostDataStreamProcessing(boolean isEntering)
Called when entering or exiting data stream
processing.
|
void |
onHostFieldChange()
Informs that the current host session had a field change.
|
void |
onHostScreenChange()
Informs that the current host session had a screen change.
|
void |
onHostSessionChange(HostSession hostSession,
boolean isNewSession)
Called when the current host session is changed.
|
void |
onHostSessionFailure(String description)
Informs that the current host session had a failure.
|
void |
onHostStateChange()
Informs that the current host session had a state change.
|
void |
soundAlarm()
Called by the ALARM function in the host datastream.
|
void |
trace(String txt)
Adds a trace output for session pooling if client verbose trace is turned on.
|
public static boolean handleConnection(AdminCommandProcessor acp)
No errors are returned, because this class will log the appropriate events.
public void trace(String txt)
public void logWarning(String txt)
public void logInfo(String txt)
public Object getLockObject()
getLockObject in interface HostSessionManagerListenerpublic void onHostScreenChange()
onHostScreenChange in interface HostSessionManagerListenerpublic void onHostCursorPositionChange(int x,
int y)
onHostCursorPositionChange in interface HostSessionManagerListenerpublic void onHostFieldChange()
onHostFieldChange in interface HostSessionManagerListenerpublic void onHostConnectChange(boolean connected)
onHostConnectChange in interface HostSessionManagerListenerpublic void onHostStateChange()
onHostStateChange in interface HostSessionManagerListenerpublic void onHostSessionFailure(String description)
onHostSessionFailure in interface HostSessionManagerListenerpublic void soundAlarm()
soundAlarm in interface HostSessionManagerListenerpublic boolean doesScreenMatch(PhantomHostScreen phantomScreen)
doesScreenMatch in interface HostSessionManagerListenerpublic void onHostDataStreamProcessing(boolean isEntering)
onHostDataStreamProcessing in interface HostSessionManagerListenerpublic void onHostSessionChange(HostSession hostSession, boolean isNewSession)
onHostSessionChange in interface HostSessionManagerListenerPhantom® and NetPhantom® are registered trademarks of Nexum Technologies SARL.
© Copyright Nexum Technologies SARL, 2012. All rights reserved.