public class ProxyItemUpdateListener extends java.lang.Object implements ItemUpdateListener
| Constructor and Description |
|---|
ProxyItemUpdateListener(java.util.concurrent.Executor executor,
ProxyDataItem item,
ProxySubConnection subConnection) |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyDataChange(Variant value,
java.util.Map<java.lang.String,Variant> attributes,
boolean cache)
A change on the data item occurred.
|
void |
notifySubscriptionChange(SubscriptionState subscriptionState,
java.lang.Throwable subscriptionError)
Notify a change in the subscription change
|
public ProxyItemUpdateListener(java.util.concurrent.Executor executor,
ProxyDataItem item,
ProxySubConnection subConnection)
public void notifyDataChange(Variant value,
java.util.Map<java.lang.String,Variant> attributes,
boolean cache)
ItemUpdateListenernotifyDataChange in interface ItemUpdateListenervalue - The new value, or null if the value did not
changeattributes - The attributes that changed, may be null if no
attribute change at all. The must be unmodifiable by the
receivercache - Indicating that the change came from the cache, this means
that the change was not triggered by a device and that
all attribute where sent, not only the changed onespublic void notifySubscriptionChange(SubscriptionState subscriptionState, java.lang.Throwable subscriptionError)
ItemUpdateListenernotifySubscriptionChange in interface ItemUpdateListenersubscriptionState - the new subscription changesubscriptionError - the new subscription error or null if everything
is ok
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0