public interface RegistrationListener<D extends Device>
RegistrationListener interface defines methods for notification of registered and unregistered devices.method| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| 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. | 
void deviceRegistered(RegistrationEvent<D> event)
event - the device registration event.void deviceUnregistered(RegistrationEvent<D> event)
event - the device unregistration event.