public final class DefaultSocks5CommandRequest extends AbstractSocks5Message implements Socks5CommandRequest
Socks5CommandRequest
.Constructor and Description |
---|
DefaultSocks5CommandRequest(Socks5CommandType type,
Socks5AddressType dstAddrType,
String dstAddr,
int dstPort) |
Modifier and Type | Method and Description |
---|---|
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. |
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, String dstAddr, int dstPort)
public Socks5CommandType type()
Socks5CommandRequest
type
in interface Socks5CommandRequest
public Socks5AddressType dstAddrType()
Socks5CommandRequest
DST.ADDR
field of this request.dstAddrType
in interface Socks5CommandRequest
public String dstAddr()
Socks5CommandRequest
DST.ADDR
field of this request.dstAddr
in interface Socks5CommandRequest
public int dstPort()
Socks5CommandRequest
DST.PORT
field of this request.dstPort
in interface Socks5CommandRequest
Copyright © 2008–2015 The Netty Project. All rights reserved.