public final class DefaultSocks5CommandResponse extends AbstractSocks5Message implements Socks5CommandResponse
Socks5CommandResponse.| 构造器和说明 |
|---|
DefaultSocks5CommandResponse(Socks5CommandStatus status,
Socks5AddressType bndAddrType) |
DefaultSocks5CommandResponse(Socks5CommandStatus status,
Socks5AddressType bndAddrType,
java.lang.String bndAddr,
int bndPort) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.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.
|
java.lang.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, java.lang.String bndAddr, int bndPort)
public Socks5CommandStatus status()
Socks5CommandResponsestatus 在接口中 Socks5CommandResponsepublic Socks5AddressType bndAddrType()
Socks5CommandResponseBND.ADDR field of this response.bndAddrType 在接口中 Socks5CommandResponsepublic java.lang.String bndAddr()
Socks5CommandResponseBND.ADDR field of this response.bndAddr 在接口中 Socks5CommandResponsepublic int bndPort()
Socks5CommandResponseBND.PORT field of this response.bndPort 在接口中 Socks5CommandResponsepublic java.lang.String toString()
toString 在类中 java.lang.Object