Package com.isode.som.pumice
Class SomPumiceControlCommand
java.lang.Object
com.isode.som.SomCommand
com.isode.som.pumice.SomPumiceCommand
com.isode.som.pumice.SomPumiceControlCommand
- All Implemented Interfaces:
SomResponseProcessor
Class which implements all of the SOM Pumice control commands.
- Author:
- tc
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.isode.som.SomCommand
opListener
-
Constructor Summary
ConstructorsConstructorDescriptionSomPumiceControlCommand
(SomPumiceSession session, int op, SomPumiceHandler object, SomCommandListener listener) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Set command qualifier.Methods inherited from class com.isode.som.pumice.SomPumiceCommand
getHandler, handleErrors, processResponse, quotesRound
Methods inherited from class com.isode.som.SomCommand
dispatch, getSession, notifyListener, notifyListener, notifyListener
-
Field Details
-
SOM_PUMICE_ABORT
public static final int SOM_PUMICE_ABORT- See Also:
-
SOM_PUMICE_SHUTDOWN
public static final int SOM_PUMICE_SHUTDOWN- See Also:
-
SOM_PUMICE_RESTART
public static final int SOM_PUMICE_RESTART- See Also:
-
SOM_PUMICE_LOGOUT
public static final int SOM_PUMICE_LOGOUT- See Also:
-
SOM_PUMICE_BLOCK_OPERATION
public static final int SOM_PUMICE_BLOCK_OPERATION- See Also:
-
SOM_PUMICE_UNBLOCK_OPERATION
public static final int SOM_PUMICE_UNBLOCK_OPERATION- See Also:
-
SOM_PUMICE_MAXCONNS
public static final int SOM_PUMICE_MAXCONNS- See Also:
-
SOM_PUMICE_MAXVOL
public static final int SOM_PUMICE_MAXVOL- See Also:
-
SOM_PUMICE_MAXMSGS
public static final int SOM_PUMICE_MAXMSGS- See Also:
-
SOM_PUMICE_REBUILD_MAILBOX_LIST
public static final int SOM_PUMICE_REBUILD_MAILBOX_LIST- See Also:
-
SOM_PUMICE_REBUILD_STATS
public static final int SOM_PUMICE_REBUILD_STATS- See Also:
-
SOM_PUMICE_RESYNCHRONIZE
public static final int SOM_PUMICE_RESYNCHRONIZE- See Also:
-
SOM_PUMICE_IMPORT
public static final int SOM_PUMICE_IMPORT- See Also:
-
SOM_PUMICE_RELOAD
public static final int SOM_PUMICE_RELOAD- See Also:
-
-
Constructor Details
-
SomPumiceControlCommand
public SomPumiceControlCommand(SomPumiceSession session, int op, SomPumiceHandler object, SomCommandListener listener)
-
-
Method Details
-
setQualifier
Set command qualifier. A qualifier is needed for the following commands: SOM_PUMICE_LOGOUT (ORAddress) SOM_PUMICE_BLOCK_OPERATION (operation name) SOM_PUMICE_UNBLOCK_OPERATION (operation name) SOM_PUMICE_MAXCONNS (max connections value) SOM_PUMICE_MAXVOL (max volume value) SOM_PUMICE_MAXMSGS (max messages value) SOM_PUMICE_IMPORT (import source directory)- Parameters:
q
- command qualifier
-
getCommandString
- Overrides:
getCommandString
in classSomCommand
- Returns:
- The command string to be sent over the wire.
- Throws:
SomException
- Indicating a problem with the command
-