public interface ServerEndpointRegistry
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
getEndpoint(InetSocketAddress address)
Gets the endpoint bound to a particular address.
|
Endpoint |
getEndpoint(int port)
Gets the endpoint bound to a particular port.
|
Endpoint getEndpoint(InetSocketAddress address)
address - the addressnull if none of the
server's endpoints is bound to the given addressEndpoint getEndpoint(int port)
port - the portnull if none of the
server's endpoints is bound to the given port on any of its
network interfacesCopyright © 2014 Institute for Pervasive Computing, ETH Zurich. All rights reserved.