Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.util
Class SocketUtil

java.lang.Object
  extended by com.liferay.portal.kernel.util.SocketUtil

public class SocketUtil
extends Object


Nested Class Summary
static class SocketUtil.BindInfo
           
static interface SocketUtil.ServerSocketConfigurator
           
 
Constructor Summary
SocketUtil()
           
 
Method Summary
static ServerSocketChannel createServerSocketChannel(InetAddress bindingInetAddress, int startPort, SocketUtil.ServerSocketConfigurator serverSocketConfigurator)
           
static SocketUtil.BindInfo getBindInfo(String host, int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketUtil

public SocketUtil()
Method Detail

createServerSocketChannel

public static ServerSocketChannel createServerSocketChannel(InetAddress bindingInetAddress,
                                                            int startPort,
                                                            SocketUtil.ServerSocketConfigurator serverSocketConfigurator)
                                                     throws IOException
Throws:
IOException

getBindInfo

public static SocketUtil.BindInfo getBindInfo(String host,
                                              int port)
                                       throws IOException
Throws:
IOException

Liferay 6.1.2-ce-ga3