Class SomQmgrMtaReadCommand

All Implemented Interfaces:
SomResponseProcessor

public class SomQmgrMtaReadCommand extends SomQmgrCommand
This class implements the command which reads information about a MTA
Author:
tc
  • Constructor Details

    • SomQmgrMtaReadCommand

      public SomQmgrMtaReadCommand(SomSession session, SomQmgrHandler object, SomCommandListener listener)
      Create a new SomQmgrMtaReadCommand object
      Parameters:
      session - Session for command which may not be null
      object - Result handler object which may not be null
      listener - Listener object to be notified when command completes, which may be null
    • SomQmgrMtaReadCommand

      public SomQmgrMtaReadCommand(SomSession session, SomQmgrSelector sel, SomQmgrHandler object, SomCommandListener listener)
      Create a new SomQmgrMtaReadCommand object
      Parameters:
      session - Session for command which may not be null
      sel - Selector object for command which may be null
      object - Result handler object which may not be null
      listener - Listener object to be notified when command completes, which may be null
  • Method Details

    • getSubcommand

      public String getSubcommand()
    • addSelector

      public void addSelector(SomQmgrSelector sel)
      Add a Selector to the command
      Parameters:
      sel - Selector which may be null
    • getCommandString

      public String getCommandString() throws SomException
      Overrides:
      getCommandString in class SomCommand
      Returns:
      The command string to be sent over the wire.
      Throws:
      SomException - Indicating a problem with the command