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.
|
version
decoderResult, setDecoderResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
version
decoderResult, setDecoderResult
public DefaultSocks5CommandRequest(Socks5CommandType type, Socks5AddressType dstAddrType, java.lang.String dstAddr, int dstPort)
public Socks5CommandType type()
Socks5CommandRequest
type
在接口中 Socks5CommandRequest
public Socks5AddressType dstAddrType()
Socks5CommandRequest
DST.ADDR
field of this request.dstAddrType
在接口中 Socks5CommandRequest
public java.lang.String dstAddr()
Socks5CommandRequest
DST.ADDR
field of this request.dstAddr
在接口中 Socks5CommandRequest
public int dstPort()
Socks5CommandRequest
DST.PORT
field of this request.dstPort
在接口中 Socks5CommandRequest
public java.lang.String toString()
toString
在类中 java.lang.Object