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