Socks4CommandResponse.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int | |
| private final Socks4CommandStatus |
| Access | Constructor and Description |
|---|---|
| public | DefaultSocks4CommandResponse(Socks4CommandStatus
the status of the response status)Creates a new instance. |
| public | DefaultSocks4CommandResponse(Socks4CommandStatus
the status of the response status, String the dstAddr, int DSTIP field of the responsethe dstPort)DSTPORT field of the responseCreates a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public String | dstAddr()
Implements io. DSTIP field of this response.
|
| public int | dstPort()
Implements io. DSTPORT field of this response.
|
| public Socks4CommandStatus | status()
Implements io. |
| public String |
| dstAddr | back to summary |
|---|---|
| private final String dstAddr | |
| dstPort | back to summary |
|---|---|
| private final int dstPort | |
| status | back to summary |
|---|---|
| private final Socks4CommandStatus status | |
| DefaultSocks4CommandResponse | back to summary |
|---|---|
| public DefaultSocks4CommandResponse(Socks4CommandStatus status) Creates a new instance.
| |
| DefaultSocks4CommandResponse | back to summary |
|---|---|
| public DefaultSocks4CommandResponse(Socks4CommandStatus status, String dstAddr, int dstPort) 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
| |
| status | back to summary |
|---|---|
| public Socks4CommandStatus status() Implements io. Doc from io. Returns the status of this response.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |