程序包 | 说明 |
---|---|
io.netty.handler.codec.socks |
Encoder, decoder and their related message types for Socks.
|
限定符和类型 | 方法和说明 |
---|---|
SocksAddressType |
SocksCmdResponse.addressType()
Returns the
SocksAddressType of this SocksCmdResponse |
SocksAddressType |
SocksCmdRequest.addressType()
Returns the
SocksAddressType of this SocksCmdRequest |
static SocksAddressType |
SocksAddressType.fromByte(byte b)
已过时。
Use
valueOf(byte) instead. |
static SocksAddressType |
SocksAddressType.valueOf(byte b) |
static SocksAddressType |
SocksAddressType.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static SocksAddressType[] |
SocksAddressType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
构造器和说明 |
---|
SocksCmdRequest(SocksCmdType cmdType,
SocksAddressType addressType,
java.lang.String host,
int port) |
SocksCmdResponse(SocksCmdStatus cmdStatus,
SocksAddressType addressType) |
SocksCmdResponse(SocksCmdStatus cmdStatus,
SocksAddressType addressType,
java.lang.String host,
int port)
Constructs new response and includes provided host and port as part of it.
|