Class RsetCommand
- java.lang.Object
-
- com.icegreen.greenmail.pop3.commands.Pop3Command
-
- com.icegreen.greenmail.pop3.commands.RsetCommand
-
public class RsetCommand extends Pop3Command
Handles the RSET command. See http://www.ietf.org/rfc/rfc1939.txt: Arguments: none Restrictions: May only be given in the TRANSACTION state. Discussion: If any messages have been marked as deleted by the POP3 server, they are unmarked. The POP3 server then replies with a positive response. Possible Responses: +OK Examples: C: RSET S: +OK maildrop has 2 messages (320 octets)- Since:
- Dec 21, 2006
- Version:
- $Id: $
- Author:
- Marcel May
-
-
Constructor Summary
Constructors Constructor Description RsetCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Pop3Connection conn, Pop3State state, java.lang.String cmd)
boolean
isValidForState(Pop3State state)
-
-
-
Method Detail
-
isValidForState
public boolean isValidForState(Pop3State state)
- Specified by:
isValidForState
in classPop3Command
-
execute
public void execute(Pop3Connection conn, Pop3State state, java.lang.String cmd)
- Specified by:
execute
in classPop3Command
-
-