public final class DefaultSocks5CommandResponse extends AbstractSocks5Message implements Socks5CommandResponse
Socks5CommandResponse.| Constructor and Description |
|---|
DefaultSocks5CommandResponse(Socks5CommandStatus status,
Socks5AddressType bndAddrType) |
DefaultSocks5CommandResponse(Socks5CommandStatus status,
Socks5AddressType bndAddrType,
String bndAddr,
int bndPort) |
| Modifier and Type | Method and Description |
|---|---|
String |
bndAddr()
Returns the
BND.ADDR field of this response. |
Socks5AddressType |
bndAddrType()
Returns the address type of the
BND.ADDR field of this response. |
int |
bndPort()
Returns the
BND.PORT field of this response. |
Socks5CommandStatus |
status()
Returns the status of this response.
|
String |
toString() |
versiondecoderResult, setDecoderResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitversiondecoderResult, setDecoderResultpublic DefaultSocks5CommandResponse(Socks5CommandStatus status, Socks5AddressType bndAddrType)
public DefaultSocks5CommandResponse(Socks5CommandStatus status, Socks5AddressType bndAddrType, String bndAddr, int bndPort)
public Socks5CommandStatus status()
Socks5CommandResponsestatus in interface Socks5CommandResponsepublic Socks5AddressType bndAddrType()
Socks5CommandResponseBND.ADDR field of this response.bndAddrType in interface Socks5CommandResponsepublic String bndAddr()
Socks5CommandResponseBND.ADDR field of this response.bndAddr in interface Socks5CommandResponsepublic int bndPort()
Socks5CommandResponseBND.PORT field of this response.bndPort in interface Socks5CommandResponseCopyright © 2008–2025 The Netty Project. All rights reserved.