|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImapCommand
Represents a processor for a particular Imap command. Implementations of this interface should encpasulate all command specific processing.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 session
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |