Class SomQmgrMtaCkadrCommand

All Implemented Interfaces:
SomResponseProcessor

public class SomQmgrMtaCkadrCommand extends SomQmgrCommand
This class implements the remote address checking command.
Author:
tc
  • Constructor Details

    • SomQmgrMtaCkadrCommand

      public SomQmgrMtaCkadrCommand(SomSession session, SomQmgrHandler object, SomCommandListener listener, SomQmgrCKADROptions options)
      Create a new SomQmgrMtaCkadrCommand object
      Parameters:
      session - Session for command
      object - Result handler object
      listener - Object which will be notified when command completes
      options - Provides arguments for the command
  • Method Details

    • processResponse

      public void processResponse(String commandData, byte[] bytedata, int status)
      Description copied from class: SomQmgrCommand
      Process a SOM command response, creating appropriate objects to hold data from the response if necessary, and passing to the correct methods of the handler object
      Specified by:
      processResponse in interface SomResponseProcessor
      Overrides:
      processResponse in class SomQmgrCommand
      Parameters:
      commandData - The initial response string
      bytedata - The accompanying data
      status - Status code for operation
    • 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