Class DefaultSocks4CommandRequest

    • Constructor Detail

      • DefaultSocks4CommandRequest

        public DefaultSocks4CommandRequest​(Socks4CommandType type,
                                           java.lang.String dstAddr,
                                           int dstPort)
        Creates a new instance.
        Parameters:
        type - the type of the request
        dstAddr - the DSTIP field of the request
        dstPort - the DSTPORT field of the request
      • DefaultSocks4CommandRequest

        public DefaultSocks4CommandRequest​(Socks4CommandType type,
                                           java.lang.String dstAddr,
                                           int dstPort,
                                           java.lang.String userId)
        Creates a new instance.
        Parameters:
        type - the type of the request
        dstAddr - the DSTIP field of the request
        dstPort - the DSTPORT field of the request
        userId - the USERID field of the request