Class DefaultSocks5CommandResponse
java.lang.Object
io.netty.handler.codec.socksx.AbstractSocksMessage
io.netty.handler.codec.socksx.v5.AbstractSocks5Message
io.netty.handler.codec.socksx.v5.DefaultSocks5CommandResponse
- All Implemented Interfaces:
DecoderResultProvider, SocksMessage, Socks5CommandResponse, Socks5Message
public final class DefaultSocks5CommandResponse
extends AbstractSocks5Message
implements Socks5CommandResponse
The default
Socks5CommandResponse.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSocks5CommandResponse(Socks5CommandStatus status, Socks5AddressType bndAddrType) DefaultSocks5CommandResponse(Socks5CommandStatus status, Socks5AddressType bndAddrType, String bndAddr, int bndPort) -
Method Summary
Methods inherited from class AbstractSocks5Message
versionMethods inherited from class AbstractSocksMessage
decoderResult, setDecoderResultMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface DecoderResultProvider
decoderResult, setDecoderResultMethods inherited from interface SocksMessage
version
-
Constructor Details
-
DefaultSocks5CommandResponse
-
DefaultSocks5CommandResponse
public DefaultSocks5CommandResponse(Socks5CommandStatus status, Socks5AddressType bndAddrType, String bndAddr, int bndPort)
-
-
Method Details
-
status
Description copied from interface:Socks5CommandResponseReturns the status of this response.- Specified by:
statusin interfaceSocks5CommandResponse
-
bndAddrType
Description copied from interface:Socks5CommandResponseReturns the address type of theBND.ADDRfield of this response.- Specified by:
bndAddrTypein interfaceSocks5CommandResponse
-
bndAddr
Description copied from interface:Socks5CommandResponseReturns theBND.ADDRfield of this response.- Specified by:
bndAddrin interfaceSocks5CommandResponse
-
bndPort
public int bndPort()Description copied from interface:Socks5CommandResponseReturns theBND.PORTfield of this response.- Specified by:
bndPortin interfaceSocks5CommandResponse
-
toString
-