| java.lang.Object org.codehaus.spice.netserve.connection.impl.AcceptorConfig
AcceptorConfig | class AcceptorConfig (Code) | | A utility class that contains acceptor configuration.
author: Peter Donald version: $Revision: 1.2 $ $Date: 2004/03/21 23:42:58 $ |
AcceptorConfig | AcceptorConfig(String name, ServerSocket serverSocket, RequestHandler handler)(Code) | | Create the acceptor.
Parameters: name - the name that connection was registered using Parameters: serverSocket - the ServerSocket that used to accept connections Parameters: handler - the handler for new connections |
getHandler | RequestHandler getHandler()(Code) | | Return the handler the connections are handled by.
the handler the connections are handled by. |
getName | String getName()(Code) | | Return the name acceptor registered under.
the name acceptor registered under. |
getServerSocket | ServerSocket getServerSocket()(Code) | | Return the socket that connections accepted from.
the socket that connections accepted from. |
|
|