Class SomQmgrMtaCkadrCommand

  • All Implemented Interfaces:
    SomResponseProcessor

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

      • 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 Detail

      • processResponse

        public void processResponse​(java.lang.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 java.lang.String getSubcommand()
      • addSelector

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