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 TypeMethodDescriptionvoid
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
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).