Package io.netty.handler.codec.socksx.v4
Interface Socks4CommandRequest
-
- All Superinterfaces:
DecoderResultProvider
,Socks4Message
,SocksMessage
- All Known Implementing Classes:
DefaultSocks4CommandRequest
public interface Socks4CommandRequest extends Socks4Message
A SOCKS4aCONNECT
orBIND
request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
dstAddr()
Returns theDSTIP
field of this request.int
dstPort()
Returns theDSTPORT
field of this request.Socks4CommandType
type()
Returns the type of this request.java.lang.String
userId()
Returns theUSERID
field of this request.-
Methods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResult
-
Methods inherited from interface io.netty.handler.codec.socksx.SocksMessage
version
-
-
-
-
Method Detail
-
type
Socks4CommandType type()
Returns the type of this request.
-
userId
java.lang.String userId()
Returns theUSERID
field of this request.
-
dstAddr
java.lang.String dstAddr()
Returns theDSTIP
field of this request.
-
dstPort
int dstPort()
Returns theDSTPORT
field of this request.
-
-