Class InboxUpdatedEvent

  • All Implemented Interfaces:
    Event

    @NonNullByDefault
    public class InboxUpdatedEvent
    extends AbstractInboxEvent
    An InboxUpdatedEvent notifies subscribers that a discovery result has been updated in the inbox. Inbox updated events must be created with the InboxEventFactory.
    Author:
    Stefan Bußweiler - Initial contribution
    • Field Detail

      • TYPE

        public static final String TYPE
        The inbox updated event type.
    • Constructor Detail

      • InboxUpdatedEvent

        protected InboxUpdatedEvent​(String topic,
                                    String payload,
                                    DiscoveryResultDTO discoveryResult)
        Constructs a new inbox updated event object.
        Parameters:
        topic - the topic
        payload - the payload
        discoveryResult - the discovery-result data transfer object
    • Method Detail

      • getType

        public String getType()
        Description copied from interface: Event
        Gets the event type.
        Returns:
        the event type