Interface Channel.Forwarded

    • Method Detail

      • getOriginatorIP

        java.lang.String getOriginatorIP()
        Returns:
        the IP of where the forwarded connection originates.
      • getOriginatorPort

        int getOriginatorPort()
        Returns:
        port from which the forwarded connection originates.
      • reject

        void reject​(OpenFailException.Reason reason,
                    java.lang.String message)
             throws TransportException
        Indicate rejection to remote end.
        Parameters:
        reason - indicate reason for rejection of the request
        message - indicate a message for why the request is rejected
        Throws:
        TransportException - error sending rejection packet