|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.james.nntpserver.NNTPHandler
public class NNTPHandler
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 |
errorHandler(java.lang.RuntimeException e)
Provides errorHandling |
void |
handleProtocol()
Handle the protocol |
void |
resetHandler()
Resets the handler data to a basic state. |
void |
setConfigurationData(java.lang.Object theData)
This method will be implemented checking for the correct class type. |
void |
setProtocolHandlerHelper(ProtocolHandlerHelper phh)
Injects the ProtocolHandlerHelper service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long UTC_OFFSET
Constructor Detail |
---|
public NNTPHandler()
Method Detail |
---|
public void setConfigurationData(java.lang.Object theData)
ProtocolHandler
setConfigurationData
in interface ProtocolHandler
theData
- Configuration Bean.AbstractJamesHandler.setConfigurationData(Object)
public void handleProtocol() throws java.io.IOException
ProtocolHandler
handleProtocol
in interface ProtocolHandler
java.io.IOException
- get thrown if an IO error is detectedAbstractJamesHandler.handleProtocol()
public void errorHandler(java.lang.RuntimeException e)
ProtocolHandler
errorHandler
in interface ProtocolHandler
e
- exceptionAbstractJamesHandler.errorHandler(java.lang.RuntimeException)
public void resetHandler()
ProtocolHandler
resetHandler
in interface ProtocolHandler
AbstractJamesHandler.resetHandler()
public void setProtocolHandlerHelper(ProtocolHandlerHelper phh)
ProtocolHandler
setProtocolHandlerHelper
in interface ProtocolHandler
phh
- service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |