Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Static Public Member Functions | |
static List< InetAddress > | getAllNonLoopbackLocalIPAddresses (boolean includeIPv6Addresses) |
static Socks5Proxy | getSocks5ProxySafe () |
static void | addProxyAddress (String ip, boolean inFront) |
Static networking class, dealing with local IP retrieval
static void de.fu_berlin.inf.dpp.net.util.NetworkingUtils.addProxyAddress | ( | String | ip, |
boolean | inFront | ||
) | [static] |
Adds a specified IP (String) to the list of addresses of the Socks5Proxy. (the target attempts the stream host addresses one by one in the order of the list)
ip | String of the address of the Socks5Proxy (stream host) |
inFront | boolean flag, if the address is to be inserted in front of the list. If false , address is added at the end of the list. |
static List<InetAddress> de.fu_berlin.inf.dpp.net.util.NetworkingUtils.getAllNonLoopbackLocalIPAddresses | ( | boolean | includeIPv6Addresses | ) | [static] |
Retrieves all IP addresses from all non-loopback-, running network devices of the local host.
IPv4 addresses are sorted before IPv6 addresses (to let connecting to IPv4 IPs before attempting their IPv6 equivalents when iterating the List).
includeIPv6Addresses | flag if IPv6 addresses are added to the result |
static Socks5Proxy de.fu_berlin.inf.dpp.net.util.NetworkingUtils.getSocks5ProxySafe | ( | ) | [static] |
Returns the Socks5Proxy object without changing its running state.