public class POP3SessionImpl extends ProtocolSessionImpl implements POP3Session
POP3Session implementation which use NettyProtocolSession.StateconfigAPOP_TIMESTAMP, AUTHENTICATION_READY, AUTHENTICATION_USERSET, DELETED_UID_LIST, TRANSACTION, UID_LIST| Constructor and Description |
|---|
POP3SessionImpl(Logger logger,
ProtocolTransport transport,
ProtocolConfiguration configData) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHandlerState()
Returns the current handler state
|
Mailbox |
getUserMailbox()
Returns the mail list contained in the mailbox
|
Response |
newFatalErrorResponse()
This implementation just returns
null. |
Response |
newLineTooLongResponse()
This implementation just returns
null. |
void |
resetState()
This implementation just clears the sessions state.
|
void |
setHandlerState(int handlerState)
Sets the new handler state
|
void |
setUserMailbox(Mailbox mailbox)
Sets a new mailbox content
|
getAttachment, getCharset, getConfiguration, getConnectionState, getLineDelimiter, getLocalAddress, getLogger, getProtocolTransport, getPushedLineHandlerCount, getRemoteAddress, getSessionID, getState, getUser, isStartTLSSupported, isTLSStarted, popLineHandler, pushLineHandler, setAttachment, setUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttachment, getCharset, getConfiguration, getConnectionState, getLineDelimiter, getLocalAddress, getLogger, getPushedLineHandlerCount, getRemoteAddress, getSessionID, getState, getUser, isStartTLSSupported, isTLSStarted, popLineHandler, pushLineHandler, setAttachment, setUserpublic POP3SessionImpl(Logger logger, ProtocolTransport transport, ProtocolConfiguration configData)
public int getHandlerState()
POP3SessiongetHandlerState in interface POP3Sessionorg.apache.james.pop3server.POP3Session#getHandlerState()public void setHandlerState(int handlerState)
POP3SessionsetHandlerState in interface POP3SessionhandlerState - stateorg.apache.james.pop3server.POP3Session#setHandlerState(int)public void resetState()
ProtocolSessionImplresetState in interface ProtocolSessionresetState in class ProtocolSessionImplpublic Mailbox getUserMailbox()
POP3SessiongetUserMailbox in interface POP3Sessionorg.apache.james.pop3server.POP3Session#getUserMailbox()public void setUserMailbox(Mailbox mailbox)
POP3SessionsetUserMailbox in interface POP3Sessionmailbox - mailboxorg.apache.james.pop3server.POP3Session#setUserMailbox(Mailbox)public Response newLineTooLongResponse()
ProtocolSessionImplnull. Sub-classes should
overwrite this if needednewLineTooLongResponse in interface ProtocolSessionnewLineTooLongResponse in class ProtocolSessionImplpublic Response newFatalErrorResponse()
ProtocolSessionImplnull. Sub-classes should
overwrite this if needednewFatalErrorResponse in interface ProtocolSessionnewFatalErrorResponse in class ProtocolSessionImplCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.