Class SomQmgrCommand

    • Constructor Detail

      • SomQmgrCommand

        public SomQmgrCommand​(SomSession session,
                              SomQmgrHandler handler,
                              SomCommandListener listener)
        Create a new command object
        Parameters:
        session - SOM session for this command
        handler - Result handler object
        listener - Listener to be informed when command complete
    • Method Detail

      • getHandler

        public SomQmgrHandler getHandler()
        Return handler object
        Returns:
        current handler object for this command
      • processResponse

        public void processResponse​(java.lang.String commandData,
                                    byte[] bytedata,
                                    int status)
        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 SomCommand
        Parameters:
        commandData - The initial response string
        bytedata - The accompanying data
        status - Status code for operation