| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tomcat.util.net.ServerSocketFactory
org.apache.tomcat.util.net.puretls.PureTLSSocketFactory
SSL server socket factory--wraps PureTLS
| Field Summary | 
| Fields inherited from class org.apache.tomcat.util.net.ServerSocketFactory | 
attributes | 
| Constructor Summary | |
PureTLSSocketFactory()
 | 
|
| Method Summary | |
 java.net.Socket | 
acceptSocket(java.net.ServerSocket socket)
Wrapper function for accept().  | 
 java.net.ServerSocket | 
createSocket(int port)
Returns a server socket which uses all network interfaces on the host, and is bound to a the specified port.  | 
 java.net.ServerSocket | 
createSocket(int port,
             int backlog)
Returns a server socket which uses all network interfaces on the host, is bound to a the specified port, and uses the specified connection backlog.  | 
 java.net.ServerSocket | 
createSocket(int port,
             int backlog,
             java.net.InetAddress ifAddress)
Returns a server socket which uses only the specified network interface on the local host, is bound to a the specified port, and uses the specified connection backlog.  | 
 void | 
handshake(java.net.Socket sock)
Extra function to initiate the handshake.  | 
| Methods inherited from class org.apache.tomcat.util.net.ServerSocketFactory | 
getDefault, initSocket, setAttribute | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public PureTLSSocketFactory()
| Method Detail | 
public java.net.ServerSocket createSocket(int port)
                                   throws java.io.IOException
ServerSocketFactory
createSocket in class ServerSocketFactoryport - the port to listen to
java.io.IOException - for networking errors
public java.net.ServerSocket createSocket(int port,
                                          int backlog)
                                   throws java.io.IOException
ServerSocketFactory
createSocket in class ServerSocketFactoryport - the port to listen tobacklog - how many connections are queued
java.io.IOException - for networking errors
public java.net.ServerSocket createSocket(int port,
                                          int backlog,
                                          java.net.InetAddress ifAddress)
                                   throws java.io.IOException
ServerSocketFactory
createSocket in class ServerSocketFactoryport - the port to listen tobacklog - how many connections are queuedifAddress - the network interface address to use
java.io.IOException - for networking errors
public java.net.Socket acceptSocket(java.net.ServerSocket socket)
                             throws java.io.IOException
ServerSocketFactory
acceptSocket in class ServerSocketFactoryjava.io.IOException
public void handshake(java.net.Socket sock)
               throws java.io.IOException
ServerSocketFactory
handshake in class ServerSocketFactoryjava.io.IOException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||