Class DefaultSocks4CommandResponse

java.lang.Object
All Implemented Interfaces:
DecoderResultProvider, SocksMessage, Socks4CommandResponse, Socks4Message

public class DefaultSocks4CommandResponse extends AbstractSocks4Message implements Socks4CommandResponse
  • Field Details

    • status

      private final Socks4CommandStatus status
    • dstAddr

      private final java.lang.String dstAddr
    • dstPort

      private final int dstPort
  • Constructor Details

    • DefaultSocks4CommandResponse

      public DefaultSocks4CommandResponse(Socks4CommandStatus status)
      Creates a new instance.
      Parameters:
      status - the status of the response
    • DefaultSocks4CommandResponse

      public DefaultSocks4CommandResponse(Socks4CommandStatus status, java.lang.String dstAddr, int dstPort)
      Creates a new instance.
      Parameters:
      status - the status of the response
      dstAddr - the DSTIP field of the response
      dstPort - the DSTPORT field of the response
  • Method Details