org.w3c.jigsaw.https.socket
Class SSLSocketClientFactory

java.lang.Object
  extended by org.w3c.jigsaw.http.socket.SocketClientFactory
      extended by org.w3c.jigsaw.https.socket.SSLSocketClientFactory
All Implemented Interfaces:
ClientFactory, PropertyMonitoring, Status

public class SSLSocketClientFactory
extends SocketClientFactory


Field Summary
static java.lang.String PROTOCOL_HANDLER_S
          The property key for the system protocol package lookup
 
Fields inherited from class org.w3c.jigsaw.http.socket.SocketClientFactory
AVG_DEAD, AVG_HIGH, AVG_LIGHT, AVG_NORMAL, BINDADDR_P, IDLETO, IDLETO_P, MAXCLIENTS, MAXCLIENTS_P, MAXSPARE_FREE, MAXSPARE_FREE_P, MAXSPARE_IDLE, MAXSPARE_IDLE_P, MAXTHREADS, MAXTHREADS_P, MINSPARE_FREE, MINSPARE_FREE_P, TIMEOUT_P
 
Constructor Summary
SSLSocketClientFactory()
           
 
Method Summary
protected  SocketClient createClient(httpd server, SocketClientState state)
          Factory for creating a new client for this pool.
 java.net.ServerSocket createServerSocket()
          factory method for creating a secure server socket
 void initialize(httpd server)
          method for intializing this factory
 boolean propertyChanged(java.lang.String name)
          method for handling a dynamic property modification
 
Methods inherited from class org.w3c.jigsaw.http.socket.SocketClientFactory
addClient, clientConnectionFinished, clientFinished, deleteClient, getHTMLStatus, handleConnection, idleClientRemove, killClients, killSomeClients, killSomeClients, notifyIdle, notifyUse, run, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROTOCOL_HANDLER_S

public static final java.lang.String PROTOCOL_HANDLER_S
The property key for the system protocol package lookup

See Also:
Constant Field Values
Constructor Detail

SSLSocketClientFactory

public SSLSocketClientFactory()
Method Detail

createServerSocket

public java.net.ServerSocket createServerSocket()
                                         throws java.io.IOException
factory method for creating a secure server socket

Specified by:
createServerSocket in interface ClientFactory
Overrides:
createServerSocket in class SocketClientFactory
Returns:
a new server socket instance
Throws:
java.io.IOException - due to socket creation problems

initialize

public void initialize(httpd server)
method for intializing this factory

Specified by:
initialize in interface ClientFactory
Overrides:
initialize in class SocketClientFactory
Parameters:
server - the daemon of this factory

propertyChanged

public boolean propertyChanged(java.lang.String name)
method for handling a dynamic property modification

Specified by:
propertyChanged in interface PropertyMonitoring
Overrides:
propertyChanged in class SocketClientFactory
Parameters:
name - the name of the property modified
Returns:
true if and only if the modification has been handled successfully

createClient

protected SocketClient createClient(httpd server,
                                    SocketClientState state)
Factory for creating a new client for this pool.

Overrides:
createClient in class SocketClientFactory
Parameters:
server - the target http daemon
state - the client state holder
Returns:
a new socket client