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 intSOM_PUMICE_ABORTstatic intSOM_PUMICE_BLOCK_OPERATIONstatic intSOM_PUMICE_IMPORTstatic intSOM_PUMICE_LOGOUTstatic intSOM_PUMICE_MAXCONNSstatic intSOM_PUMICE_MAXMSGSstatic intSOM_PUMICE_MAXVOLstatic intSOM_PUMICE_REBUILD_MAILBOX_LISTstatic intSOM_PUMICE_REBUILD_STATSstatic intSOM_PUMICE_RELOADstatic intSOM_PUMICE_RESTARTstatic intSOM_PUMICE_RESYNCHRONIZEstatic intSOM_PUMICE_SHUTDOWNstatic intSOM_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.StringgetCommandString()voidsetQualifier(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:
getCommandStringin classSomCommand- Returns:
- The command string to be sent over the wire.
- Throws:
SomException- Indicating a problem with the command
-
-