Package com.iizix.term
Interface HostSessionListener
- All Known Subinterfaces:
- HostSessionOwner
- All Known Implementing Classes:
- RemoteHostSession,- TerminalComposite,- TerminalDesignerProp,- TerminalHost
public interface HostSessionListener
The 3270 or 5250 host session owner interface.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- 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, int updates) Called when data stream is to be processed.- 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, Throwable exception) Called when a session has had a failure.- 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.
- Method Details- onScreenChangeNotifies the session of a screen change.
- onFieldChangeNotifies the session that fields have changed.
- onScreenSizeChangeNotifies the session that the screen size has changed.
- onCursorPositionChangeNotifies the session that the cursor position has changed.
- onConnectChangeNotifies the session of a connect state change.
- onStateChangeNotifies the session of a state change (such as insert mode, lock state, error state).
- onSessionFailureCalled when a session has had a failure.
- soundAlarmSound alarm on the client.
- onHostDataStreamProcessingCalled when data stream is to be processed.- Parameters:
- peer- The peer.
- isEntering- The state of processing (true=before, false=after).
- updates- What has been updated on screen (bit flag: 0x01=characters, 0x02=fields).