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 class
static interface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerSocketChannel
createServerSocketChannel
(InetAddress bindingInetAddress, int startPort, SocketUtil.ServerSocketConfigurator serverSocketConfigurator) static SocketUtil.BindInfo
getBindInfo
(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
-