Interface CommandResultListener

  • All Superinterfaces:
    CommandListener

    public interface CommandResultListener
    extends CommandListener

    Defines the interface that you should implement to receive information on the result of a command.

    For more about commands, see CommandSubscription.

    • Method Detail

      • onCommandResult

        void onCommandResult​(java.lang.String subject,
                             CommandResultEvent commandEvent)

        For a command that returns a result, this method will be called in addition to the onCommandOk callback

        Parameters:
        subject - The subject of the command.
        commandEvent - The command result.