Interface SubscriptionStatusEvent


public interface SubscriptionStatusEvent

Provides information about a change in the state of a subscription.

The SubscriptionStatusEvent will be provided on a onSubscriptionStatus callback to a SubscriptionListener.

  • Method Details

    • getSubject

      String getSubject()

      Returns the subject of the subscription to which the event relates.

      Returns:
      The subject.
    • getStatus

      Returns the new status of the subject of the subscription.

      Returns:
      The new status.
    • getStatusMessage

      String getStatusMessage()

      Returns the new status message of the subject of the subscription.

      Returns:
      The new status message.
    • getFields

      Map<String,String> getFields()

      Returns any fields associated with the status event.

      The fields may contain metadata related to the event, the known keys are "code" and "status".

      Returns:
      the fields