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

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

public class TLSServerSocketFactory
extends Object
implements ServerSocketFactory

Since:
Jul 29, 2010
Author:
Won Chul Doh

Field Summary
protected  SSLServerSocketFactory factory
           
 
Constructor Summary
TLSServerSocketFactory(SSLContext context)
           
 
Method Summary
 ServerSocket createServerSocket(int port)
           
 ServerSocket createServerSocket(int port, int backLog)
           
 ServerSocket createServerSocket(int port, int backLog, InetAddress bindAddress)
           
 void setAuthenticateClient(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected SSLServerSocketFactory factory
Constructor Detail

TLSServerSocketFactory

public TLSServerSocketFactory(SSLContext context)
Method Detail

setAuthenticateClient

public void setAuthenticateClient(boolean b)

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.