Package com.isode.som.pumice
Class SomPumiceManageMailboxCommand
java.lang.Object
com.isode.som.SomCommand
com.isode.som.pumice.SomPumiceCommand
com.isode.som.pumice.SomPumiceManageMailboxCommand
- All Implemented Interfaces:
SomResponseProcessor
- Direct Known Subclasses:
SomPumiceTidyMailboxCommand
Class which implements commands for mailbox management
- Author:
- tc
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.isode.som.SomCommand
opListener -
Constructor Summary
ConstructorsConstructorDescriptionSomPumiceManageMailboxCommand(SomPumiceSession session, int op, String mailbox, SomPumiceHandler object, SomCommandListener listener) Create a new command to manage a mailbox -
Method Summary
Modifier and TypeMethodDescriptionGet command stringvoidSet the qualifier for the command.Methods inherited from class com.isode.som.pumice.SomPumiceCommand
getHandler, handleErrors, processResponse, quotesRoundMethods inherited from class com.isode.som.SomCommand
dispatch, getSession, notifyListener, notifyListener, notifyListener
-
Field Details
-
SOM_PUMICE_REBUILD_STATS
public static final int SOM_PUMICE_REBUILD_STATS- See Also:
-
SOM_PUMICE_TIDY_MAILBOX
public static final int SOM_PUMICE_TIDY_MAILBOX- See Also:
-
SOM_PUMICE_DELETE_MAILBOX
public static final int SOM_PUMICE_DELETE_MAILBOX- See Also:
-
SOM_PUMICE_BACKUP_MAILBOX
public static final int SOM_PUMICE_BACKUP_MAILBOX- See Also:
-
SOM_PUMICE_RESTORE_MAILBOX
public static final int SOM_PUMICE_RESTORE_MAILBOX- See Also:
-
SOM_PUMICE_RESTORE_MESSAGE
public static final int SOM_PUMICE_RESTORE_MESSAGE- See Also:
-
SOM_PUMICE_REGISTER_AUTOACTION
public static final int SOM_PUMICE_REGISTER_AUTOACTION- See Also:
-
SOM_PUMICE_DEREGISTER_AUTOACTION
public static final int SOM_PUMICE_DEREGISTER_AUTOACTION- See Also:
-
SOM_PUMICE_RESYNCHRONIZE
public static final int SOM_PUMICE_RESYNCHRONIZE- See Also:
-
-
Constructor Details
-
SomPumiceManageMailboxCommand
public SomPumiceManageMailboxCommand(SomPumiceSession session, int op, String mailbox, SomPumiceHandler object, SomCommandListener listener) Create a new command to manage a mailbox- Parameters:
session- the SOM sessionop- operation codemailbox- mailbox to operate onobject- result handler objectlistener- result listener
-
-
Method Details
-
setQualifier
Set the qualifier for the command. Qualifiers are needed for: SOM_PUMICE_BACKUP_MAILBOX (backup destination folder) SOM_PUMICE_RESTORE_MAILBOX (restore source folder) SOM_PUMICE_RESTORE_MESSAGE (message source file) SOM_PUMICE_REGISTER_AUTOACTION (hex-encoded autoaction ASN.1) SOM_PUMICE_DEREGISTER_AUTOACTION (ditto)- Parameters:
s- command qualifier
-
getCommandString
Get command string- Overrides:
getCommandStringin classSomCommand- Returns:
- the string for this command
- Throws:
SomException- on error
-