com.hs.mail.container.server.socket
Class DefaultServerSocketFactory

java.lang.Object
  extended by com.hs.mail.container.server.socket.DefaultServerSocketFactory
All Implemented Interfaces:
ServerSocketFactory

public class DefaultServerSocketFactory
extends Object
implements ServerSocketFactory

Default implementation of server socket factory

Since:
Jul 29, 2010
Author:
Won Chul Doh

Constructor Summary
DefaultServerSocketFactory()
           
 
Method Summary
 ServerSocket createServerSocket(int port)
           
 ServerSocket createServerSocket(int port, int backLog)
           
 ServerSocket createServerSocket(int port, int backLog, InetAddress bindAddress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultServerSocketFactory

public DefaultServerSocketFactory()
Method Detail

createServerSocket

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

createServerSocket

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

createServerSocket

public ServerSocket createServerSocket(int port,
                                       int backLog,
                                       InetAddress bindAddress)
                                throws IOException
Specified by:
createServerSocket in interface ServerSocketFactory
Throws:
IOException


Copyright © 2011. All Rights Reserved.