Package io.netty.handler.codec.socksx.v5
Interface Socks5CommandResponse
-
- All Superinterfaces:
DecoderResultProvider
,Socks5Message
,SocksMessage
- All Known Implementing Classes:
DefaultSocks5CommandResponse
public interface Socks5CommandResponse extends Socks5Message
A response to a SOCKS5 request detail message, as defined in the section 6, RFC1928.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
bndAddr()
Returns theBND.ADDR
field of this response.Socks5AddressType
bndAddrType()
Returns the address type of theBND.ADDR
field of this response.int
bndPort()
Returns theBND.PORT
field of this response.Socks5CommandStatus
status()
Returns the status of this response.-
Methods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResult
-
Methods inherited from interface io.netty.handler.codec.socksx.SocksMessage
version
-
-
-
-
Method Detail
-
status
Socks5CommandStatus status()
Returns the status of this response.
-
bndAddrType
Socks5AddressType bndAddrType()
Returns the address type of theBND.ADDR
field of this response.
-
bndAddr
java.lang.String bndAddr()
Returns theBND.ADDR
field of this response.
-
bndPort
int bndPort()
Returns theBND.PORT
field of this response.
-
-