public class PhotometerCollector extends fr.liglab.adele.cilia.framework.AbstractCollector implements DeviceListener<Photometer>
| Constructor and Description |
|---|
PhotometerCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindProxy(Photometer detector)
It is called when a new service of type Photometer is registered into the
gateway.
|
void |
deviceAdded(Photometer device)
Callback notifying the addition of a device to the platform.
|
void |
deviceEvent(Photometer arg0,
Object arg1)
Callback notifying when the device want to trigger an event.
|
void |
devicePropertyAdded(Photometer device,
String propertyName)
Callback notifying the addition of a property on the device listened.
|
void |
devicePropertyModified(Photometer device,
String propertyName,
Object oldValue,
Object newValue)
Callback notifying the modification of a property on the device listened.
|
void |
devicePropertyRemoved(Photometer device,
String propertyName)
Callback notifying the elimination of a property on the device listened.
|
void |
deviceRemoved(Photometer device)
Callback notifying the elimination of a device to the platform.
|
void |
notifyDeviceEvent(String deviceSerialNumber) |
void |
unbindProxy(Photometer detector) |
public void notifyDeviceEvent(String deviceSerialNumber)
public void bindProxy(Photometer detector)
detector - A new PresenceDetector (proxy)public void unbindProxy(Photometer detector)
public void deviceAdded(Photometer device)
DeviceListenerdeviceAdded in interface DeviceListener<Photometer>device - The device added.public void devicePropertyAdded(Photometer device, String propertyName)
DeviceListenerdevicePropertyAdded in interface DeviceListener<Photometer>device - The devicepropertyName - The name of the added propertypublic void devicePropertyModified(Photometer device, String propertyName, Object oldValue, Object newValue)
DeviceListenerdevicePropertyModified in interface DeviceListener<Photometer>device - The devicepropertyName - The name of the modified propertyoldValue - The previous value of the propertynewValue - The new value of the propertypublic void devicePropertyRemoved(Photometer device, String propertyName)
DeviceListenerdevicePropertyRemoved in interface DeviceListener<Photometer>device - The devicepropertyName - The name of the removed propertypublic void deviceRemoved(Photometer device)
DeviceListenerdeviceRemoved in interface DeviceListener<Photometer>device - The device removed.public void deviceEvent(Photometer arg0, Object arg1)
DeviceListenerdeviceEvent in interface DeviceListener<Photometer>arg0 - the device triggering the event.arg1 - the content of the event.Copyright © 2012-2013 ADELE Research Group. All Rights Reserved.