P
- the device type the event is defined for.public interface RegistrationListener<P extends Device<? super P>>
extends java.util.EventListener
RegistrationListener
interface defines methods for getting notified of the
registration and unregistration of devices. RegistrationListener
can be registered using the
DeviceManager.addRegistrationListener
method.DeviceManager
Modifier and Type | Method and Description |
---|---|
void |
deviceRegistered(RegistrationEvent<P> event)
Invoked when a new device is registered.
|
void |
deviceUnregistered(RegistrationEvent<P> event)
Invoked when a device is unregistered.
|
void deviceRegistered(RegistrationEvent<P> event)
event
- the device registration event that occurred.void deviceUnregistered(RegistrationEvent<P> event)
event
- the device unregistration event that occurred.Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved.
Legal Notices