public class DefaultSocks4CommandRequest extends AbstractSocks4Message implements Socks4CommandRequest
| Constructor and Description |
|---|
DefaultSocks4CommandRequest(Socks4CommandType type, java.lang.String dstAddr, int dstPort)
创建一个新的实例。
|
DefaultSocks4CommandRequest(Socks4CommandType type, java.lang.String dstAddr, int dstPort, java.lang.String userId)
创建一个新的实例。
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
dstAddr()
返回此请求的
DSTIP字段。
|
int |
dstPort()
返回此请求的
DSTPORT字段。
|
java.lang.String |
toString() |
Socks4CommandType |
type()
返回此请求的类型。
|
java.lang.String |
userId()
返回此请求的
USERID字段。
|
versiondecoderResult, setDecoderResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitversiondecoderResult, setDecoderResultpublic DefaultSocks4CommandRequest(Socks4CommandType type, java.lang.String dstAddr, int dstPort)
type - 请求的类型
dstAddr - 请求的
DSTIP字段
dstPort - 请求的
DSTPORT字段
public DefaultSocks4CommandRequest(Socks4CommandType type, java.lang.String dstAddr, int dstPort, java.lang.String userId)
type - 请求的类型
dstAddr - 请求的
DSTIP字段
dstPort - 请求的
DSTPORT字段
userId - 请求的
USERID字段
public Socks4CommandType type()
Socks4CommandRequest
type在界面
Socks4CommandRequest
public java.lang.String dstAddr()
Socks4CommandRequest复制的描述
DSTIP字段。
dstAddr在界面
Socks4CommandRequest
public int dstPort()
Socks4CommandRequest
DSTPORT字段。
dstPort在界面
Socks4CommandRequest
public java.lang.String userId()
Socks4CommandRequest复制的描述
USERID字段。
userId在界面
Socks4CommandRequest
public java.lang.String toString()
toString在课程
java.lang.Object
Copyright © 2008–2018 The Netty Project. All rights reserved.