Socks4CommandRequest.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int | |
| private final Socks4CommandType | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | DefaultSocks4CommandRequest(Socks4CommandType
the type of the request type, String the dstAddr, int DSTIP field of the requestthe dstPort)DSTPORT field of the requestCreates a new instance. |
| public | DefaultSocks4CommandRequest(Socks4CommandType
the type of the request type, String the dstAddr, int DSTIP field of the requestthe dstPort, String DSTPORT field of the requestthe userId)USERID field of the requestCreates a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public String | dstAddr()
Implements io. DSTIP field of this request.
|
| public int | dstPort()
Implements io. DSTPORT field of this request.
|
| public String | |
| public Socks4CommandType | type()
Implements io. |
| public String | userId()
Implements io. USERID field of this request.
|
| dstAddr | back to summary |
|---|---|
| private final String dstAddr | |
| dstPort | back to summary |
|---|---|
| private final int dstPort | |
| type | back to summary |
|---|---|
| private final Socks4CommandType type | |
| userId | back to summary |
|---|---|
| private final String userId | |
| DefaultSocks4CommandRequest | back to summary |
|---|---|
| public DefaultSocks4CommandRequest(Socks4CommandType type, String dstAddr, int dstPort) Creates a new instance.
| |
| DefaultSocks4CommandRequest | back to summary |
|---|---|
| public DefaultSocks4CommandRequest(Socks4CommandType type, String dstAddr, int dstPort, String userId) Creates a new instance.
| |
| dstAddr | back to summary |
|---|---|
| public String dstAddr() Implements io. Doc from io. Returns the
| |
| dstPort | back to summary |
|---|---|
| public int dstPort() Implements io. Doc from io. Returns the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| type | back to summary |
|---|---|
| public Socks4CommandType type() Implements io. Doc from io. Returns the type of this request.
| |
| userId | back to summary |
|---|---|
| public String userId() Implements io. Doc from io. Returns the
| |