public abstract class HostSessionManagerAdapter extends Object implements HostSessionManagerListener2
HostSessionManagerListener2 or
this convenience adapter in order to be notified of changes.| Constructor and Description |
|---|
HostSessionManagerAdapter() |
| 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.
|
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)
Deprecated.
as of NetPhantom Version 3.8
|
void |
onHostSessionFailure(Throwable exception)
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.
|
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 HostSessionManagerListener@Deprecated public void onHostSessionFailure(String description)
onHostSessionFailure in interface HostSessionManagerListenerpublic void onHostSessionFailure(Throwable exception)
onHostSessionFailure in interface HostSessionManagerListener2public 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 Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.