Package org.bluezoo.gumdrop.imap.handler
Interface DeleteState
public interface DeleteState
Operations available when responding to a DELETE command.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcannotDelete(String message, AuthenticatedHandler handler) Cannot delete mailbox (has children, is INBOX, etc.).voiddeleted(AuthenticatedHandler handler) Mailbox deleted successfully.voidmailboxNotFound(String message, AuthenticatedHandler handler) Mailbox does not exist.voidServer is shutting down, close gracefully.
-
Method Details
-
deleted
Mailbox deleted successfully.- Parameters:
handler- continues receiving authenticated commands
-
mailboxNotFound
Mailbox does not exist.- Parameters:
message- the error messagehandler- continues receiving authenticated commands
-
cannotDelete
Cannot delete mailbox (has children, is INBOX, etc.).- Parameters:
message- the error messagehandler- continues receiving authenticated commands
-
serverShuttingDown
void serverShuttingDown()Server is shutting down, close gracefully.Sends an untagged BYE response indicating the server is shutting down and closes the connection.
-