Class DefaultSocks4CommandRequest

All Implemented Interfaces:
DecoderResultProvider, SocksMessage, Socks4CommandRequest, Socks4Message

public class DefaultSocks4CommandRequest extends AbstractSocks4Message implements Socks4CommandRequest
  • Constructor Details

    • DefaultSocks4CommandRequest

      public DefaultSocks4CommandRequest(Socks4CommandType type, 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, String dstAddr, int dstPort, 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
  • Method Details