Java Doc for Service.java in » Web-Server » jo » com » tagtraum » framework » server » Java Source Code / Java DocumentationJava Source Code and Java Documentation
A Service-implementation.
author: Hendrik Schreiber version: 1.1beta1 $Id: Service.java,v 1.4 2003/09/13 04:59:56 hendriks73 Exp $ See Also:com.tagtraum.metaserver.MetaServer See Also: TCPService See Also: UDPService
Is called when a SO_TIMEOUT happened in one of the
I_Listener s. Default behavior is trim the
HandlerPool to a minimum.
See Also: #setMinHandlerThreads();
public void setHandlerClassname(String aClassname)(Code)
Sets the name of the handler class to use. The class
has to implement the interface
I_Handler .
Parameters: aClassname - the handler classname See Also:I_Handler
setHandlerFactory
public void setHandlerFactory(Factory aFactory)(Code)
Sets the factory used for instatiating the handlers.
Parameters: aFactory - the factory