java.lang.Object
net.i2p.socks.SOCKS4Constants.Command
Enclosing class:
SOCKS4Constants

public static class SOCKS4Constants.Commandextends Object
SOCKS4 command codes.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Command code asking the proxy to listen for an inbound connection.
    static final int
    Command code asking the proxy to open a TCP connection.
  • Constructor Summary

    Constructors
    Constructor
    Description
    The command codes are static, so an instance carries nothing.
  • Method Summary

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CONNECT

      public static final int CONNECT
      Command code asking the proxy to open a TCP connection.
      See Also:
    • BIND

      public static final int BIND
      Command code asking the proxy to listen for an inbound connection.
      See Also:
  • Constructor Details

    • Command

      public Command()
      The command codes are static, so an instance carries nothing.