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 HostSessionManagerListener
public void onHostScreenChange()
onHostScreenChange
in interface HostSessionManagerListener
public void onHostCursorPositionChange(int x, int y)
onHostCursorPositionChange
in interface HostSessionManagerListener
public void onHostFieldChange()
onHostFieldChange
in interface HostSessionManagerListener
public void onHostConnectChange(boolean connected)
onHostConnectChange
in interface HostSessionManagerListener
public void onHostStateChange()
onHostStateChange
in interface HostSessionManagerListener
@Deprecated public void onHostSessionFailure(String description)
onHostSessionFailure
in interface HostSessionManagerListener
public void onHostSessionFailure(Throwable exception)
onHostSessionFailure
in interface HostSessionManagerListener2
public void soundAlarm()
soundAlarm
in interface HostSessionManagerListener
public boolean doesScreenMatch(PhantomHostScreen phantomScreen)
doesScreenMatch
in interface HostSessionManagerListener
public void onHostDataStreamProcessing(boolean isEntering)
onHostDataStreamProcessing
in interface HostSessionManagerListener
public void onHostSessionChange(HostSession hostSession, boolean isNewSession)
onHostSessionChange
in interface HostSessionManagerListener
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.