public interface EndpointFactory
Endpoints.| Modifier and Type | Method and Description |
|---|---|
Endpoint |
getEndpoint(NetworkConfig config,
InetSocketAddress address)
Gets a communication endpoint bound to a given IP address and port.
|
Endpoint |
getSecureEndpoint(NetworkConfig config,
InetSocketAddress address)
Gets an Endpoint that uses DTLS for secure communication.
|
Endpoint getEndpoint(NetworkConfig config, InetSocketAddress address)
config - the configuration properties to be used for creating the
endpoint or null if default values should be usedaddress - the IP address and port to bind toEndpoint getSecureEndpoint(NetworkConfig config, InetSocketAddress address)
config - the configuration properties to be used for creating the
endpoint or null if default values should be usedaddress - the addressnull if this factory
does not support secure endpointsCopyright © 2014 Institute for Pervasive Computing, ETH Zurich. All rights reserved.