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
public class SomPumiceControlCommand extends SomPumiceCommand
Class which implements all of the SOM Pumice control commands.- Author:
- tc
-
-
Field Summary
Fields Modifier and Type Field Description static int
SOM_PUMICE_ABORT
static int
SOM_PUMICE_BLOCK_OPERATION
static int
SOM_PUMICE_IMPORT
static int
SOM_PUMICE_LOGOUT
static int
SOM_PUMICE_MAXCONNS
static int
SOM_PUMICE_MAXMSGS
static int
SOM_PUMICE_MAXVOL
static int
SOM_PUMICE_REBUILD_MAILBOX_LIST
static int
SOM_PUMICE_REBUILD_STATS
static int
SOM_PUMICE_RELOAD
static int
SOM_PUMICE_RESTART
static int
SOM_PUMICE_RESYNCHRONIZE
static int
SOM_PUMICE_SHUTDOWN
static int
SOM_PUMICE_UNBLOCK_OPERATION
-
Fields inherited from class com.isode.som.SomCommand
opListener
-
-
Constructor Summary
Constructors Constructor Description SomPumiceControlCommand(SomPumiceSession session, int op, SomPumiceHandler object, SomCommandListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCommandString()
void
setQualifier(java.lang.String q)
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 Detail
-
SOM_PUMICE_ABORT
public static final int SOM_PUMICE_ABORT
- See Also:
- Constant Field Values
-
SOM_PUMICE_SHUTDOWN
public static final int SOM_PUMICE_SHUTDOWN
- See Also:
- Constant Field Values
-
SOM_PUMICE_RESTART
public static final int SOM_PUMICE_RESTART
- See Also:
- Constant Field Values
-
SOM_PUMICE_LOGOUT
public static final int SOM_PUMICE_LOGOUT
- See Also:
- Constant Field Values
-
SOM_PUMICE_BLOCK_OPERATION
public static final int SOM_PUMICE_BLOCK_OPERATION
- See Also:
- Constant Field Values
-
SOM_PUMICE_UNBLOCK_OPERATION
public static final int SOM_PUMICE_UNBLOCK_OPERATION
- See Also:
- Constant Field Values
-
SOM_PUMICE_MAXCONNS
public static final int SOM_PUMICE_MAXCONNS
- See Also:
- Constant Field Values
-
SOM_PUMICE_MAXVOL
public static final int SOM_PUMICE_MAXVOL
- See Also:
- Constant Field Values
-
SOM_PUMICE_MAXMSGS
public static final int SOM_PUMICE_MAXMSGS
- See Also:
- Constant Field Values
-
SOM_PUMICE_REBUILD_MAILBOX_LIST
public static final int SOM_PUMICE_REBUILD_MAILBOX_LIST
- See Also:
- Constant Field Values
-
SOM_PUMICE_REBUILD_STATS
public static final int SOM_PUMICE_REBUILD_STATS
- See Also:
- Constant Field Values
-
SOM_PUMICE_RESYNCHRONIZE
public static final int SOM_PUMICE_RESYNCHRONIZE
- See Also:
- Constant Field Values
-
SOM_PUMICE_IMPORT
public static final int SOM_PUMICE_IMPORT
- See Also:
- Constant Field Values
-
SOM_PUMICE_RELOAD
public static final int SOM_PUMICE_RELOAD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SomPumiceControlCommand
public SomPumiceControlCommand(SomPumiceSession session, int op, SomPumiceHandler object, SomCommandListener listener)
-
-
Method Detail
-
setQualifier
public void setQualifier(java.lang.String q)
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
public java.lang.String getCommandString() throws SomException
- Overrides:
getCommandString
in classSomCommand
- Returns:
- The command string to be sent over the wire.
- Throws:
SomException
- Indicating a problem with the command
-
-