V - the type of AbstractVirtualDevicepublic static interface AbstractVirtualDevice.ChangeCallback<V>
| Modifier and Type | Method and Description |
|---|---|
void |
onChange(AbstractVirtualDevice.ChangeEvent<V> event)
Callback for receiving an event when the value of an attribute
has changed.
|
void onChange(AbstractVirtualDevice.ChangeEvent<V> event)
null argument.
If an exception is thrown in a device client context, the new
value will not be set.
The key-value pairs of the Map<String,Object> parameter
are the name of the attribute and the attribute's new value.
event - The data from the change event