Class AbstractThingRegistryEvent

    • Constructor Detail

      • AbstractThingRegistryEvent

        protected AbstractThingRegistryEvent​(String topic,
                                             String payload,
                                             String source,
                                             ThingDTO thing)
        Must be called in subclass constructor to create a new thing registry event.
        Parameters:
        topic - the topic
        payload - the payload
        source - the source, can be null
        thing - the thing
    • Method Detail

      • getThing

        public ThingDTO getThing()
        Gets the thing.
        Returns:
        the thing