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 Summary
Modifier and TypeMethodDescriptionvoidonConnectChange(HostSessionPeer peer, boolean connected) Notifies the session of a connect state change.voidonCursorPositionChange(HostSessionPeer peer, int x, int y) Notifies the session that the cursor position has changed.voidonFieldChange(HostSessionPeer peer) Notifies the session that fields have changed.voidonHostDataStreamProcessing(HostSessionPeer peer, boolean isEntering, int updates) Called when data stream is to be processed.voidonScreenChange(HostSessionPeer peer, int beginPos, int endPos) Notifies the session of a screen change.voidonScreenSizeChange(HostSessionPeer peer, int cx, int cy) Notifies the session that the screen size has changed.voidonSessionFailure(HostSessionPeer peer, Throwable exception) Called when a session has had a failure.voidonStateChange(HostSessionPeer peer) Notifies the session of a state change (such as insert mode, lock state, error state).voidsoundAlarm(HostSessionPeer peer) Sound alarm on the client.
Method Details
onScreenChange
Notifies the session of a screen change.onFieldChange
Notifies the session that fields have changed.onScreenSizeChange
Notifies the session that the screen size has changed.onCursorPositionChange
Notifies the session that the cursor position has changed.onConnectChange
Notifies the session of a connect state change.onStateChange
Notifies the session of a state change (such as insert mode, lock state, error state).onSessionFailure
Called when a session has had a failure.soundAlarm
Sound alarm on the client.onHostDataStreamProcessing
Called 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).