com.epam.common.transport.server
Class ConnectAddressServerSocketFactory

java.lang.Object
  extended by javax.net.ServerSocketFactory
      extended by com.epam.common.transport.server.ConnectAddressServerSocketFactory

public class ConnectAddressServerSocketFactory
extends ServerSocketFactory


Constructor Summary
ConnectAddressServerSocketFactory(String connectAddress)
           
 
Method Summary
 ServerSocket createServerSocket(int port)
           
 ServerSocket createServerSocket(int port, int backlog)
           
 ServerSocket createServerSocket(int port, int backlog, InetAddress inetAddress)
           
 
Methods inherited from class javax.net.ServerSocketFactory
createServerSocket, getDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectAddressServerSocketFactory

public ConnectAddressServerSocketFactory(String connectAddress)
Method Detail

createServerSocket

public ServerSocket createServerSocket(int port)
                                throws IOException
Specified by:
createServerSocket in class ServerSocketFactory
Throws:
IOException

createServerSocket

public ServerSocket createServerSocket(int port,
                                       int backlog)
                                throws IOException
Specified by:
createServerSocket in class ServerSocketFactory
Throws:
IOException

createServerSocket

public ServerSocket createServerSocket(int port,
                                       int backlog,
                                       InetAddress inetAddress)
                                throws IOException
Specified by:
createServerSocket in class ServerSocketFactory
Throws:
IOException


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.