Package com.isode.som.pumice
Class SomPumiceMonitorCommand
- java.lang.Object
-
- com.isode.som.SomCommand
-
- com.isode.som.pumice.SomPumiceCommand
-
- com.isode.som.pumice.SomPumiceMonitorCommand
-
- All Implemented Interfaces:
SomResponseProcessor
public class SomPumiceMonitorCommand extends SomPumiceCommand
Class providing SOM mailbox or connection monitoring command- Author:
- tc
-
-
Field Summary
Fields Modifier and Type Field Description static int
SOM_PUMICE_MONITOR_CONNECTIONS
static int
SOM_PUMICE_MONITOR_MAILBOXES
static int
SOM_PUMICE_MONITOR_NONE
-
Fields inherited from class com.isode.som.SomCommand
opListener
-
-
Constructor Summary
Constructors Constructor Description SomPumiceMonitorCommand(SomPumiceSession session, SomPumiceHandler object, SomCommandListener listener, int type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCommandString()
void
processResponse(java.lang.String commandData, byte[] bytedata, int status)
Process response to command.-
Methods inherited from class com.isode.som.pumice.SomPumiceCommand
getHandler, handleErrors, quotesRound
-
Methods inherited from class com.isode.som.SomCommand
dispatch, getSession, notifyListener, notifyListener, notifyListener
-
-
-
-
Field Detail
-
SOM_PUMICE_MONITOR_NONE
public static final int SOM_PUMICE_MONITOR_NONE
- See Also:
- Constant Field Values
-
SOM_PUMICE_MONITOR_CONNECTIONS
public static final int SOM_PUMICE_MONITOR_CONNECTIONS
- See Also:
- Constant Field Values
-
SOM_PUMICE_MONITOR_MAILBOXES
public static final int SOM_PUMICE_MONITOR_MAILBOXES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SomPumiceMonitorCommand
public SomPumiceMonitorCommand(SomPumiceSession session, SomPumiceHandler object, SomCommandListener listener, int type)
-
-
Method Detail
-
processResponse
public void processResponse(java.lang.String commandData, byte[] bytedata, int status)
Description copied from class:SomCommand
Process response to command.- Specified by:
processResponse
in interfaceSomResponseProcessor
- Overrides:
processResponse
in classSomPumiceCommand
-
getCommandString
public java.lang.String getCommandString()
- Overrides:
getCommandString
in classSomCommand
- Returns:
- The command string to be sent over the wire.
-
-