public final class DefaultSocks5CommandRequest extends AbstractSocks5Message implements Socks5CommandRequest
Socks5CommandRequest.| 构造器和说明 |
|---|
DefaultSocks5CommandRequest(Socks5CommandType type,
Socks5AddressType dstAddrType,
java.lang.String dstAddr,
int dstPort) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
dstAddr()
Returns the
DST.ADDR field of this request. |
Socks5AddressType |
dstAddrType()
Returns the type of the
DST.ADDR field of this request. |
int |
dstPort()
Returns the
DST.PORT field of this request. |
java.lang.String |
toString() |
Socks5CommandType |
type()
Returns the type of this request.
|
versiondecoderResult, setDecoderResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitversiondecoderResult, setDecoderResultpublic DefaultSocks5CommandRequest(Socks5CommandType type, Socks5AddressType dstAddrType, java.lang.String dstAddr, int dstPort)
public Socks5CommandType type()
Socks5CommandRequesttype 在接口中 Socks5CommandRequestpublic Socks5AddressType dstAddrType()
Socks5CommandRequestDST.ADDR field of this request.dstAddrType 在接口中 Socks5CommandRequestpublic java.lang.String dstAddr()
Socks5CommandRequestDST.ADDR field of this request.dstAddr 在接口中 Socks5CommandRequestpublic int dstPort()
Socks5CommandRequestDST.PORT field of this request.dstPort 在接口中 Socks5CommandRequestpublic java.lang.String toString()
toString 在类中 java.lang.Object