Package ej.ecom

Interface RegistrationListener<D extends Device>


  • public interface RegistrationListener<D extends Device>
    The RegistrationListener interface defines methods for notification of registered and unregistered devices.
    See Also:
    method
    • Method Detail

      • deviceRegistered

        void deviceRegistered​(RegistrationEvent<D> event)
        This method is called when a new device is registered and if it is allowed to be notified of events on the registered event class.
        Parameters:
        event - the device registration event.
      • deviceUnregistered

        void deviceUnregistered​(RegistrationEvent<D> event)
        This method is called when a new device is unregistered and if it is allowed to be notified of events on the registered event class.
        Parameters:
        event - the device unregistration event.