Package com.isode.som.qmgr
Class SomQmgrMessageSearchCommand
- java.lang.Object
-
- com.isode.som.SomCommand
-
- com.isode.som.qmgr.SomQmgrCommand
-
- com.isode.som.qmgr.SomQmgrMessageSearchCommand
-
- All Implemented Interfaces:
SomResponseProcessor
public class SomQmgrMessageSearchCommand extends SomQmgrCommand
This class implements the command which can search for a message or messages- Author:
- tc
-
-
Field Summary
-
Fields inherited from class com.isode.som.SomCommand
opListener, opSession
-
-
Constructor Summary
Constructors Constructor Description SomQmgrMessageSearchCommand(SomSession session, java.lang.String chan, java.lang.String mta, SomQmgrHandler object, SomQmgrFilter filt, SomCommandListener listener)
Create a new SomQmgrMessageSearchCommand object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSelector(SomQmgrSelector sel)
Add a selector into a command objectjava.lang.String
getCommandString()
Return string representation of commandjava.lang.String
getSubcommand()
-
Methods inherited from class com.isode.som.qmgr.SomQmgrCommand
getHandler, processResponse
-
Methods inherited from class com.isode.som.SomCommand
dispatch, getSession, notifyListener, notifyListener, notifyListener
-
-
-
-
Constructor Detail
-
SomQmgrMessageSearchCommand
public SomQmgrMessageSearchCommand(SomSession session, java.lang.String chan, java.lang.String mta, SomQmgrHandler object, SomQmgrFilter filt, SomCommandListener listener)
Create a new SomQmgrMessageSearchCommand object- Parameters:
session
- Session in which to construct commandchan
- Channel name for command which may not be nullmta
- MTA name for command which may not be nullobject
- Result handler for command which may not be nullfilt
- Filter object specifying search criteria which may be nulllistener
- Listener object to be notified when command completes which may be null
-
-
Method Detail
-
getCommandString
public java.lang.String getCommandString() throws SomException
Return string representation of command- Returns:
- Command string
- Throws:
SomException
- on error
-
getSubcommand
public java.lang.String getSubcommand()
-
addSelector
public void addSelector(SomQmgrSelector sel)
Add a selector into a command object- Parameters:
sel
- Selector to add
-
-