Interface HostSessionOwner

All Superinterfaces:
HostSessionListener
All Known Implementing Classes:
RemoteHostSession, TerminalDesignerProp, TerminalHost

public interface HostSessionOwner extends HostSessionListener
The 3270 or 5250 host session owner interface.
Author:
Christopher Mindus
  • Method Details

    • onHostDataStreamProcessing

      int onHostDataStreamProcessing(HostSessionPeer peer, boolean isEntering)
      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

      void onHostPrintPage(HostSessionPeer peer)
      Called when a host printer needs printing of a new page.
      Parameters:
      peer - The peer.
    • printSession

      boolean printSession(HostSessionPeer peer)
      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

      Worker getWorker() throws IOException
      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.