| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final String | |
| private final int | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | NetworkConnectionInfo(String
the protocol and port of the server server, String the client address clientAddr, int the client port clientPort)Creates new instance of network connection information. |
| public | NetworkConnectionInfo(String
the protocol and port of the server server, byte[] the client address clientAddr, int the client port clientPort, String additional client information, or clientInfo)nullCreates new instance of network connection information. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public byte[] | |
| public String | Returns: additional client information, ornullReturns additional client information, or |
| public int | |
| public String |
| clientAddr | back to summary |
|---|---|
| private final byte[] clientAddr | |
| clientInfo | back to summary |
|---|---|
| private final String clientInfo | |
| clientPort | back to summary |
|---|---|
| private final int clientPort | |
| server | back to summary |
|---|---|
| private final String server | |
| NetworkConnectionInfo | back to summary |
|---|---|
| public NetworkConnectionInfo(String server, String clientAddr, int clientPort) throws UnknownHostException Creates new instance of network connection information.
| |
| NetworkConnectionInfo | back to summary |
|---|---|
| public NetworkConnectionInfo(String server, byte[] clientAddr, int clientPort, String clientInfo) Creates new instance of network connection information. | |
| getClient | back to summary |
|---|---|
| public String getClient() Returns the client address and port.
| |
| getClientAddr | back to summary |
|---|---|
| public byte[] getClientAddr() Returns the client address.
| |
| getClientInfo | back to summary |
|---|---|
| public String getClientInfo() Returns additional client information, or
| |
| getClientPort | back to summary |
|---|---|
| public int getClientPort() Returns the client port.
| |
| getServer | back to summary |
|---|---|
| public String getServer() Returns the protocol and port of the server.
| |