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
Command which interrogates a Message Store to obtain a list of subordinate objects
- Author:
- tc
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class com.isode.som.SomCommand
opListener -
Constructor Summary
ConstructorsConstructorDescriptionSomPumiceSubordinatesCommand(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, String path) Construct new command to ask for subordinates messages in a mailbox -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessResponse(String commandData, byte[] bytedata, int status) Process response to command.Methods inherited from class com.isode.som.pumice.SomPumiceCommand
getHandler, handleErrors, quotesRoundMethods inherited from class com.isode.som.SomCommand
dispatch, getSession, notifyListener, notifyListener, notifyListener
-
Field Details
-
SOM_PUMICE_MAILBOXES
public static final int SOM_PUMICE_MAILBOXES- See Also:
-
SOM_PUMICE_CONNECTIONS
public static final int SOM_PUMICE_CONNECTIONS- See Also:
-
-
Constructor Details
-
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, 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 Details
-
getCommandString
- Overrides:
getCommandStringin classSomCommand- Returns:
- The command string to be sent over the wire.
- Throws:
SomException- Indicating a problem with the command
-
processResponse
Description copied from class:SomCommandProcess response to command.- Specified by:
processResponsein interfaceSomResponseProcessor- Overrides:
processResponsein classSomPumiceCommand
-