Interface HostSessionOwner

    • Method Detail

      • 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 java.io.IOException
        Gets the worker of the session.
        Returns:
        The worker.
        Throws:
        java.io.IOException - For error when getting the worker.
      • getSessionInfo

        SessionInfo getSessionInfo()
        Gets the SessionInfo.
        Returns:
        The session info, never null.