Class NetSession

    • Constructor Detail

    • Method Detail

      • getConsumer

        public NetServiceConsumer getConsumer()
        Return the consumer.
        Returns:
        Consumer.
      • isChecked

        public final boolean isChecked()
        Return a value to indicate if the session is checked.
        Returns:
        True if the session is checked and false in otherwise
      • setChecked

        public final void setChecked​(boolean checked)
        Set a value to indicate if the session is chacked.
        Parameters:
        checked - Checked value.
      • getRemoteHost

        public java.lang.String getRemoteHost()
        Returns the remote host of the session.
        Returns:
        Remote host.
      • setRemoteHost

        public void setRemoteHost​(java.lang.String remoteHost)
        Sets the remote host of the session.
        Parameters:
        remoteHost - Remote host.
      • getRemotePort

        public int getRemotePort()
        Returns the remote port of the session.
        Returns:
        Remote port.
      • setRemotePort

        public void setRemotePort​(int remotePort)
        Sets the remote port of the session.
        Parameters:
        remotePort - Remote port.