public interface ImapCommand
Modifier and Type | Method and Description |
---|---|
String |
getName() |
void |
process(ImapRequestLineReader request,
ImapResponse response,
ImapSession session)
Performs all processing of the current Imap request.
|
boolean |
validForState(ImapSessionState state)
Specifies if this command is valid for the given session state.
|
String getName()
boolean validForState(ImapSessionState state)
state
- The current state
of the ImapSession
true
if the command is valid in this state.void process(ImapRequestLineReader request, ImapResponse response, ImapSession session)
request
- The current client requestresponse
- The current server responsesession
- The current sessionCopyright © 2006–2018 Icegreen Technologies. All rights reserved.