public class DefaultSocks4CommandResponse extends AbstractSocks4Message implements Socks4CommandResponse
| Constructor and Description |
|---|
DefaultSocks4CommandResponse(Socks4CommandStatus status)
创建一个新的实例。
|
DefaultSocks4CommandResponse(Socks4CommandStatus status, java.lang.String dstAddr, int dstPort)
创建一个新的实例。
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
dstAddr()
返回此响应的
DSTIP字段。
|
int |
dstPort()
返回此响应的
DSTPORT字段。
|
Socks4CommandStatus |
status()
返回此响应的状态。
|
java.lang.String |
toString() |
versiondecoderResult, setDecoderResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitversiondecoderResult, setDecoderResultpublic DefaultSocks4CommandResponse(Socks4CommandStatus status)
status - 响应的状态
public DefaultSocks4CommandResponse(Socks4CommandStatus status, java.lang.String dstAddr, int dstPort)
status - 响应的状态
dstAddr - 响应的
DSTIP字段
dstPort - 响应的
DSTPORT字段
public Socks4CommandStatus status()
Socks4CommandResponse复制的描述
status在界面
Socks4CommandResponse
public java.lang.String dstAddr()
Socks4CommandResponse
DSTIP字段。
dstAddr在界面
Socks4CommandResponse
public int dstPort()
Socks4CommandResponse复制的描述
DSTPORT字段。
dstPort在界面
Socks4CommandResponse
public java.lang.String toString()
toString在课堂上
java.lang.Object
Copyright © 2008–2018 The Netty Project. All rights reserved.