Class DefaultSocks5CommandRequest
java.lang.Object
io.netty.handler.codec.socksx.AbstractSocksMessage
io.netty.handler.codec.socksx.v5.AbstractSocks5Message
io.netty.handler.codec.socksx.v5.DefaultSocks5CommandRequest
- All Implemented Interfaces:
DecoderResultProvider, SocksMessage, Socks5CommandRequest, Socks5Message
public final class DefaultSocks5CommandRequest
extends AbstractSocks5Message
implements Socks5CommandRequest
The default
Socks5CommandRequest.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSocks5CommandRequest(Socks5CommandType type, Socks5AddressType dstAddrType, String dstAddr, int dstPort) -
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
-
DefaultSocks5CommandRequest
public DefaultSocks5CommandRequest(Socks5CommandType type, Socks5AddressType dstAddrType, String dstAddr, int dstPort)
-
-
Method Details
-
type
Description copied from interface:Socks5CommandRequestReturns the type of this request.- Specified by:
typein interfaceSocks5CommandRequest
-
dstAddrType
Description copied from interface:Socks5CommandRequestReturns the type of theDST.ADDRfield of this request.- Specified by:
dstAddrTypein interfaceSocks5CommandRequest
-
dstAddr
Description copied from interface:Socks5CommandRequestReturns theDST.ADDRfield of this request.- Specified by:
dstAddrin interfaceSocks5CommandRequest
-
dstPort
public int dstPort()Description copied from interface:Socks5CommandRequestReturns theDST.PORTfield of this request.- Specified by:
dstPortin interfaceSocks5CommandRequest
-
toString
-