public final class Socks5CmdRequest extends Socks5Request
Socks5CmdResponse
,
Socks5CmdRequestDecoder
Constructor and Description |
---|
Socks5CmdRequest(Socks5CmdType cmdType,
Socks5AddressType addressType,
String host,
int port) |
Modifier and Type | Method and Description |
---|---|
Socks5AddressType |
addressType()
Returns the
Socks5AddressType of this Socks5CmdRequest |
Socks5CmdType |
cmdType()
Returns the
Socks5CmdType of this Socks5CmdRequest |
String |
host()
Returns host that is used as a parameter in
Socks5CmdType |
int |
port()
Returns port that is used as a parameter in
Socks5CmdType |
requestType
protocolVersion, type
public Socks5CmdRequest(Socks5CmdType cmdType, Socks5AddressType addressType, String host, int port)
public Socks5CmdType cmdType()
Socks5CmdType
of this Socks5CmdRequest
Socks5CmdType
of this Socks5CmdRequest
public Socks5AddressType addressType()
Socks5AddressType
of this Socks5CmdRequest
Socks5AddressType
of this Socks5CmdRequest
public String host()
Socks5CmdType
Socks5CmdType
public int port()
Socks5CmdType
Socks5CmdType
Copyright © 2008–2014 The Netty Project. All rights reserved.