Class 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
    • 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 command
        chan - Channel name for command which may not be null
        mta - MTA name for command which may not be null
        object - Result handler for command which may not be null
        filt - Filter object specifying search criteria which may be null
        listener - 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