org.apache.james.nntpserver
Class NNTPHandler

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.james.nntpserver.NNTPHandler
All Implemented Interfaces:
org.apache.avalon.cornerstone.services.connection.ConnectionHandler, org.apache.avalon.excalibur.pool.Poolable, org.apache.avalon.framework.logger.LogEnabled

public class NNTPHandler
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements org.apache.avalon.cornerstone.services.connection.ConnectionHandler, org.apache.avalon.excalibur.pool.Poolable

The NNTP protocol is defined by RFC 977. This implementation is based on IETF draft 15, posted on 15th July '2002. URL: http://www.ietf.org/internet-drafts/draft-ietf-nntpext-base-15.txt Common NNTP extensions are in RFC 2980.


Field Summary
static long UTC_OFFSET
          The UTC offset for this time zone.
 
Constructor Summary
NNTPHandler()
           
 
Method Summary
 void handleConnection(java.net.Socket connection)
           
 
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

UTC_OFFSET

public static final long UTC_OFFSET
The UTC offset for this time zone.

Constructor Detail

NNTPHandler

public NNTPHandler()
Method Detail

handleConnection

public void handleConnection(java.net.Socket connection)
                      throws java.io.IOException
Specified by:
handleConnection in interface org.apache.avalon.cornerstone.services.connection.ConnectionHandler
Throws:
java.io.IOException
See Also:
ConnectionHandler.handleConnection(Socket)


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.