软件包 | 描述 |
---|---|
io.netty.handler.codec.socks |
编码器,解码器及其相关的信息类型的袜子。
|
Modifier and Type | Method and Description |
---|---|
SocksCmdStatus |
SocksCmdResponse.cmdStatus()
|
static SocksCmdStatus |
SocksCmdStatus.fromByte(byte b)
已过时。
改为使用
valueOf(byte) 。
|
static SocksCmdStatus |
SocksCmdStatus.valueOf(byte b) |
static SocksCmdStatus |
SocksCmdStatus.valueOf(java.lang.String name)
以指定名称返回此类型的枚举常量。
|
static SocksCmdStatus[] |
SocksCmdStatus.values()
按照声明的顺序返回包含此枚举类型常量的数组。
|
Constructor and Description |
---|
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.
|
Copyright © 2008–2018 The Netty Project. All rights reserved.