Located in compilation unit of sun.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv DatagramPacket | |
| pack-priv DatagramSocket | |
| pack-priv InetAddress | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements abstract sun. Implements java. Closes this resource, relinquishing any underlying resources. |
| public byte[] | |
| public void |
| bufSize | back to summary |
|---|---|
| pack-priv int bufSize | |
| dgPacketIn | back to summary |
|---|---|
| pack-priv DatagramPacket dgPacketIn | |
| dgSocket | back to summary |
|---|---|
| pack-priv DatagramSocket dgSocket | |
| iaddr | back to summary |
|---|---|
| pack-priv InetAddress iaddr | |
| iport | back to summary |
|---|---|
| pack-priv int iport | |
| UDPClient | back to summary |
|---|---|
| pack-priv UDPClient(String hostname, int port, int timeout) throws UnknownHostException, SocketException | |
| close | back to summary |
|---|---|
| public void close() Implements abstract sun. Implements java. Doc from java. Closes this resource, relinquishing any underlying resources.
This method is invoked automatically on objects managed by the
| |
| receive | back to summary |
|---|---|
| public byte[] receive() throws IOException Implements abstract sun.
| |
| send | back to summary |
|---|---|
| public void send(byte[] data) throws IOException Implements abstract sun.
| |