Package com.isode.som.pumice
Class SomPumiceSubordinatesCommand
- java.lang.Object
-
- com.isode.som.SomCommand
-
- com.isode.som.pumice.SomPumiceCommand
-
- com.isode.som.pumice.SomPumiceSubordinatesCommand
-
- All Implemented Interfaces:
SomResponseProcessor
public class SomPumiceSubordinatesCommand extends SomPumiceCommand
Command which interrogates a Message Store to obtain a list of subordinate objects- Author:
- tc
-
-
Field Summary
Fields Modifier and Type Field Description static int
SOM_PUMICE_CONNECTIONS
static int
SOM_PUMICE_MAILBOXES
-
Fields inherited from class com.isode.som.SomCommand
opListener
-
-
Constructor Summary
Constructors Constructor Description SomPumiceSubordinatesCommand(SomPumiceSession session, SomPumiceHandler object, SomCommandListener listener, int type)
Construct new command to ask for subordinates of a given typeSomPumiceSubordinatesCommand(SomPumiceSession session, SomPumiceHandler object, SomCommandListener listener, java.lang.String path)
Construct new command to ask for subordinates messages in a mailbox
-
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_MAILBOXES
public static final int SOM_PUMICE_MAILBOXES
- See Also:
- Constant Field Values
-
SOM_PUMICE_CONNECTIONS
public static final int SOM_PUMICE_CONNECTIONS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SomPumiceSubordinatesCommand
public SomPumiceSubordinatesCommand(SomPumiceSession session, SomPumiceHandler object, SomCommandListener listener, int type)
Construct new command to ask for subordinates of a given type- Parameters:
session
- SOM session object for commandobject
- Result handler objectlistener
- Command listenertype
- desired subordinate type
-
SomPumiceSubordinatesCommand
public SomPumiceSubordinatesCommand(SomPumiceSession session, SomPumiceHandler object, SomCommandListener listener, java.lang.String path)
Construct new command to ask for subordinates messages in a mailbox- Parameters:
session
- SOM session object for commandobject
- Result handler objectlistener
- Command listenerpath
- mailbox path (ORAddress)
-
-
Method Detail
-
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
-
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
-
-