Class ThingAddedEvent

    • Field Detail

      • TYPE

        public static final String TYPE
        The thing added event type.
    • Constructor Detail

      • ThingAddedEvent

        protected ThingAddedEvent​(String topic,
                                  String payload,
                                  ThingDTO thing)
        Constructs a new thing added event object.
        Parameters:
        topic - the topic
        payload - the payload
        thing - the thing data transfer object
    • Method Detail

      • getType

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