Additional top-level classes in compilation unit: TCPClient, UDPClient.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | close()
Redeclares java. Closes this resource, relinquishing any underlying resources. |
| public static NetClient | |
| public abstract byte[] | |
| public abstract void |
| NetClient | back to summary |
|---|---|
| public NetClient() | |
| close | back to summary |
|---|---|
| public abstract void close() throws IOException Redeclares java. Doc from java. Closes this resource, relinquishing any underlying resources.
This method is invoked automatically on objects managed by the
| |
| getInstance | back to summary |
|---|---|
| public static NetClient getInstance(String protocol, String hostname, int port, int timeout) throws IOException | |
| receive | back to summary |
|---|---|
| public abstract byte[] receive() throws IOException | |
| send | back to summary |
|---|---|
| public abstract void send(byte[] data) throws IOException | |