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.
|
versiondecoderResult, setDecoderResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitversiondecoderResult, setDecoderResultpublic DefaultSocks5CommandRequest(Socks5CommandType type, Socks5AddressType dstAddrType, String dstAddr, int dstPort)
public Socks5CommandType type()
Socks5CommandRequesttype in interface Socks5CommandRequestpublic Socks5AddressType dstAddrType()
Socks5CommandRequestDST.ADDR field of this request.dstAddrType in interface Socks5CommandRequestpublic String dstAddr()
Socks5CommandRequestDST.ADDR field of this request.dstAddr in interface Socks5CommandRequestpublic int dstPort()
Socks5CommandRequestDST.PORT field of this request.dstPort in interface Socks5CommandRequestCopyright © 2008–2025 The Netty Project. All rights reserved.