public interface NetworkEndPoint
| Modifier and Type | Interface and Description |
|---|---|
static class |
NetworkEndPoint.State
State of the end point.
|
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
getLocalAddress()
Returns the local address of this end point.
|
int |
getLocalPort()
Returns the local port of this end point.
|
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.
|
InetAddress getLocalAddress()
int getLocalPort()
NetworkInterface getNetworkInterface()
NetworkEndPoint.State getState()
void start()
throws IOException
IOExceptionvoid stop()