Class AbstractNodePropertyManager.ChangeTrackingNodeSubscription
java.lang.Object
com.inductiveautomation.ignition.gateway.tags.evaluation.subscriptions.AbstractNodePropertyManager.ChangeTrackingNodeSubscription
- All Implemented Interfaces:
QualifiedValueListener
,NodeSubscription
- Enclosing class:
- AbstractNodePropertyManager
protected static class AbstractNodePropertyManager.ChangeTrackingNodeSubscription
extends Object
implements NodeSubscription
A simple extension that holds the last changed value.
-
Constructor Summary
ConstructorsConstructorDescriptionChangeTrackingNodeSubscription
(NodeSubscription internal, boolean includeTimestamp) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Should be called by the Node when it is destroyed in order to let the subscription model know that the node is no longer present.boolean
isLeased()
Indicates that the node has at least one "heavy weight" listener.void
valueChanged
(QualifiedValue value)
-
Constructor Details
-
ChangeTrackingNodeSubscription
-
ChangeTrackingNodeSubscription
-
-
Method Details
-
valueChanged
- Specified by:
valueChanged
in interfaceQualifiedValueListener
-
disconnectNode
public void disconnectNode()Description copied from interface:NodeSubscription
Should be called by the Node when it is destroyed in order to let the subscription model know that the node is no longer present.- Specified by:
disconnectNode
in interfaceNodeSubscription
-
isLeased
public boolean isLeased()Description copied from interface:NodeSubscription
Indicates that the node has at least one "heavy weight" listener.- Specified by:
isLeased
in interfaceNodeSubscription
- Returns:
- true if the node should be executing in its "leased" state.
-