Package com.identity4j.util
Class NetUtil
- java.lang.Object
-
- com.identity4j.util.NetUtil
-
public class NetUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description NetUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InetSocketAddressgetBestAddress(InetSocketAddress addr)static StringgetRPCURL()
-
-
-
Method Detail
-
getRPCURL
public static String getRPCURL() throws SocketException
- Throws:
SocketException
-
getBestAddress
public static InetSocketAddress getBestAddress(InetSocketAddress addr) throws SocketException
- Throws:
SocketException
-
-