|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.james.imapserver.ImapHandler
public class ImapHandler
Handles IMAP connections.
Constructor Summary | |
---|---|
ImapHandler(org.apache.james.imap.main.ImapRequestHandler requestHandler,
java.lang.String hello)
|
Method Summary | |
---|---|
void |
errorHandler(java.lang.RuntimeException e)
Method which will be called on error |
org.apache.avalon.framework.logger.Logger |
getLogger()
|
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 |
Constructor Detail |
---|
public ImapHandler(org.apache.james.imap.main.ImapRequestHandler requestHandler, java.lang.String hello)
Method Detail |
---|
public void setConfigurationData(java.lang.Object theData)
ProtocolHandler
setConfigurationData
in interface ProtocolHandler
theData
- Configuration Bean.public void resetHandler()
resetHandler
in interface ProtocolHandler
public void handleProtocol() throws java.io.IOException
ProtocolHandler
handleProtocol
in interface ProtocolHandler
java.io.IOException
- get thrown if an IO error is detectedConnectionHandler.handleConnection(Socket)
public void errorHandler(java.lang.RuntimeException e)
errorHandler
in interface ProtocolHandler
e
- the RuntimeExceptionpublic org.apache.avalon.framework.logger.Logger getLogger()
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 |