Package com.iizix.term
Interface HostSessionOwner
- All Superinterfaces:
- HostSessionListener
- All Known Implementing Classes:
- RemoteHostSession,- TerminalDesignerProp,- TerminalHost
The 3270 or 5250 host session owner interface.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescriptionGets the SessionInfo.Gets the worker of the session.- int- onHostDataStreamProcessing- (HostSessionPeer peer, boolean isEntering) Called when the datastream enters or exits processing.- voidCalled when a host printer needs printing of a new page.- boolean- printSession- (HostSessionPeer peer) Called when the host (mainframe) has issued a Print Session (Print Local Copy).- Methods inherited from interface com.iizix.term.HostSessionListener- onConnectChange, onCursorPositionChange, onFieldChange, onHostDataStreamProcessing, onScreenChange, onScreenSizeChange, onSessionFailure, onStateChange, soundAlarm
- Method Details- onHostDataStreamProcessingCalled when the datastream enters or exits processing. This enables the owner to "group" multiple notification events together.- Parameters:
- peer- The peer.
- isEntering- Flag for entering or exiting.
- Returns:
- Bit flags 0x01 = characters changed, 0x02=fields changed.
 
- onHostPrintPageCalled when a host printer needs printing of a new page.- Parameters:
- peer- The peer.
 
- printSessionCalled when the host (mainframe) has issued a Print Session (Print Local Copy).- Parameters:
- peer- The peer.
- Returns:
- true for success, false for cancel.
 
- getWorkerGets the worker of the session.- Returns:
- The worker.
- Throws:
- IOException- For error when getting the worker.
 
- getSessionInfoSessionInfo getSessionInfo()Gets the SessionInfo.- Returns:
- The session info, never null.