org.apache.james
Class BaseConnectionHandler

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLogEnabled
        |
        +--org.apache.james.BaseConnectionHandler
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled
Direct Known Subclasses:
NNTPHandler, POP3Handler, RemoteManagerHandler, SMTPHandler

public class BaseConnectionHandler
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements org.apache.avalon.framework.configuration.Configurable

Different connection handlers extend this class Common Connection Handler code could be factored into this class. At present(April 28' 2001) there is not much in this class

Author:
Harmeet Bedi

Field Summary
protected  java.lang.String helloName
           
protected  int timeout
           
 
Constructor Summary
BaseConnectionHandler()
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 void releaseConnectionHandler(org.apache.avalon.cornerstone.services.connection.ConnectionHandler connectionHandler)
          Release a previously created ConnectionHandler e.g.
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeout

protected int timeout

helloName

protected java.lang.String helloName
Constructor Detail

BaseConnectionHandler

public BaseConnectionHandler()
Method Detail

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.configuration.ConfigurationException

releaseConnectionHandler

public void releaseConnectionHandler(org.apache.avalon.cornerstone.services.connection.ConnectionHandler connectionHandler)
Release a previously created ConnectionHandler e.g. for spooling.



"Copyright © 2001 Apache Jakarta Project. All Rights Reserved."