webcore.webserver
Interface WebServerSocketFactoryInterface

All Known Implementing Classes:
WebServerSSLSocketFactory

public interface WebServerSocketFactoryInterface

An interface used by WebServer to create sockets. The default factory in WebServer can be replaced with an implementor of this interface to provide special Sockets.


Method Summary
 java.net.ServerSocket getServerSocket(int requestedPort)
          Returns a server socket listening on the requestedPort
 

Method Detail

getServerSocket

public java.net.ServerSocket getServerSocket(int requestedPort)
                                      throws java.io.IOException
Returns a server socket listening on the requestedPort

Parameters:
requestedPort - the port for the server socket to listen on
java.io.IOException