public interface HostSessionListener
Modifier and Type | Method and Description |
---|---|
ClientConnectionData |
getClientConnectionData()
Gets the client connection data.
|
int |
getIndex()
Gets the current session index.
|
Object |
getLockObject()
Gets the lock object for thread synchronization.
|
boolean |
hasFullDuplexClient()
Checks if the session has a full duplex Client (Java or JavaScript).
|
boolean |
hasJavaClient()
Checks if the session has a Java Client (used by printer sessions -- a printer
session is not started for non-Java Clients).
|
boolean |
isUser3270BoxDrawingEnabled()
Checks if 3270 box drawing is enabled.
|
boolean |
isUserPCInsertModeEnabled()
Checks if PC Insert mode is enabled.
|
boolean |
isUserSmartInsertModeEnabled()
Checks if Smart Insert mode is enabled.
|
void |
onConnectChange(HostSessionPeer peer,
boolean connected)
Notifies the session of a connect state change.
|
void |
onCursorPositionChange(HostSessionPeer peer,
int x,
int y)
Notifies the session that the cursor position has changed.
|
void |
onFieldChange(HostSessionPeer peer)
Notifies the session that fields have changed.
|
void |
onHostDataStreamProcessing(HostSessionPeer peer,
boolean isEntering)
Called when entering or exiting data stream
processing.
|
void |
onHostError(HostSessionPeer peer,
String text)
Notifies the session of an error condition.
|
void |
onHostPrintPage(HostSessionPeer peer)
Called when a host printer needs printing of a new page.
|
void |
onScreenChange(HostSessionPeer peer,
int beginPos,
int endPos)
Notifies the session of a screen change.
|
void |
onScreenSizeChange(HostSessionPeer peer,
int cx,
int cy)
Notifies the session that the screen size has changed.
|
void |
onSessionFailure(HostSessionPeer peer,
String description)
Deprecated.
as of NetPhantom Version 3.8.
|
void |
onStateChange(HostSessionPeer peer)
Notifies the session of a state change (such as insert mode,
lock state, error state).
|
void |
soundAlarm(HostSessionPeer peer)
Sound alarm on the client.
|
void onScreenChange(HostSessionPeer peer, int beginPos, int endPos)
void onFieldChange(HostSessionPeer peer)
void onScreenSizeChange(HostSessionPeer peer, int cx, int cy)
void onCursorPositionChange(HostSessionPeer peer, int x, int y)
void onConnectChange(HostSessionPeer peer, boolean connected)
void onStateChange(HostSessionPeer peer)
void onHostError(HostSessionPeer peer, String text)
void soundAlarm(HostSessionPeer peer)
@Deprecated void onSessionFailure(HostSessionPeer peer, String description)
void onHostPrintPage(HostSessionPeer peer)
int getIndex()
ClientConnectionData getClientConnectionData()
Object getLockObject()
boolean hasFullDuplexClient()
boolean hasJavaClient()
void onHostDataStreamProcessing(HostSessionPeer peer, boolean isEntering)
boolean isUser3270BoxDrawingEnabled()
boolean isUserSmartInsertModeEnabled()
boolean isUserPCInsertModeEnabled()
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.