Package com.liferay.portal.kernel.util
Class SocketUtil
Object
com.liferay.portal.kernel.util.SocketUtil
- Author:
- Shuyang Zhou
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerSocketChannelcreateServerSocketChannel(InetAddress bindingInetAddress, int startPort, SocketUtil.ServerSocketConfigurator serverSocketConfigurator) static SocketUtil.BindInfogetBindInfo(String host, int port)
-
Constructor Details
-
SocketUtil
public SocketUtil()
-
-
Method Details
-
createServerSocketChannel
public static ServerSocketChannel createServerSocketChannel(InetAddress bindingInetAddress, int startPort, SocketUtil.ServerSocketConfigurator serverSocketConfigurator) throws IOException - Throws:
IOException
-
getBindInfo
- Throws:
IOException
-