public class NetworkHelper extends Object
Constructor and Description |
---|
NetworkHelper() |
Modifier and Type | Method and Description |
---|---|
static Set<InetSocketAddress> |
getLocalAddresses(IoAcceptor acceptor) |
static Set<ConnectionInformation> |
getLocalInterfaces(IoAcceptor acceptor,
ConnectionInformation connectionInformation) |
public static Set<ConnectionInformation> getLocalInterfaces(IoAcceptor acceptor, ConnectionInformation connectionInformation) throws SocketException
SocketException
public static Set<InetSocketAddress> getLocalAddresses(IoAcceptor acceptor) throws SocketException
SocketException