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 Details

    • onCommandResult

      void onCommandResult(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.