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 Summary
Modifier and TypeMethodDescriptionGets the SessionInfo.Gets the worker of the session.int
onHostDataStreamProcessing
(HostSessionPeer peer, boolean isEntering) Called when the datastream enters or exits processing.void
Called 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
onHostDataStreamProcessing
Called 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.
onHostPrintPage
Called when a host printer needs printing of a new page.- Parameters:
peer
- The peer.
printSession
Called when the host (mainframe) has issued a Print Session (Print Local Copy).- Parameters:
peer
- The peer.- Returns:
- true for success, false for cancel.
getWorker
Gets the worker of the session.- Returns:
- The worker.
- Throws:
IOException
- For error when getting the worker.
getSessionInfo
SessionInfo getSessionInfo()Gets the SessionInfo.- Returns:
- The session info, never null.