NetworkReceiver, NetworkSenderDatagramReceiver, DatagramSender, DatagramSenderAndReceiverpublic interface NetworkEndPoint
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
NetworkEndPoint.State |
State of the end point.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.net.InetAddress |
getLocalAddress() |
Returns the local address of this end point.
|
int |
getLocalPort() |
Returns the local port of this end point.
|
java.net.NetworkInterface |
getNetworkInterface() |
Returns the network interface associated with this end point.
|
NetworkEndPoint.State |
getState() |
Returns the state of this end point.
|
void |
start() |
Starts this end point.
|
void |
stop() |
Stops this end point.
|
java.net.InetAddress getLocalAddress()
int getLocalPort()
java.net.NetworkInterface getNetworkInterface()
NetworkEndPoint.State getState()
void start()
throws java.io.IOException
java.io.IOExceptionvoid stop()