Package com.isode.som.qmgr
Class SomQmgrViewQueueCommand
- java.lang.Object
-
- com.isode.som.SomCommand
-
- com.isode.som.qmgr.SomQmgrCommand
-
- com.isode.som.qmgr.SomQmgrViewCommand
-
- com.isode.som.qmgr.SomQmgrViewQueueCommand
-
- All Implemented Interfaces:
SomResponseProcessor
public class SomQmgrViewQueueCommand extends SomQmgrViewCommand
Class which implements the queue viewing command.- Author:
- tc
-
-
Field Summary
-
Fields inherited from class com.isode.som.qmgr.SomQmgrViewCommand
msgid
-
Fields inherited from class com.isode.som.SomCommand
opListener, opSession
-
-
Constructor Summary
Constructors Constructor Description SomQmgrViewQueueCommand(SomSession session, SomQmgrHandler object, SomCommandListener listener)
Create a new SomQmgrViewQueueCommand object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRecipID(java.lang.String recipID)
When specified the recipient ID is added to thejava.lang.String
getCommandString()
-
Methods inherited from class com.isode.som.qmgr.SomQmgrViewCommand
addMessageId, processResponse
-
Methods inherited from class com.isode.som.qmgr.SomQmgrCommand
getHandler
-
Methods inherited from class com.isode.som.SomCommand
dispatch, getSession, notifyListener, notifyListener, notifyListener
-
-
-
-
Constructor Detail
-
SomQmgrViewQueueCommand
public SomQmgrViewQueueCommand(SomSession session, SomQmgrHandler object, SomCommandListener listener)
Create a new SomQmgrViewQueueCommand object- Parameters:
session
- Session for command which may not be nullobject
- Handler object for result which may not be nulllistener
- Listener object which may not be null
-
-
Method Detail
-
addRecipID
public void addRecipID(java.lang.String recipID)
When specified the recipient ID is added to the- Parameters:
recipID
- the recipient id
-
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
-
-