Interface NodeSubscriptionDelegate
public interface NodeSubscriptionDelegate
TagNodes
that implement
NodeSubscriptionDelegate tells subscription system the implementing class wants to manage it's own
TagChangeEvents to a SubscriptionNode's listeners.
NodeSubscriptionDelegate is primarily be used for TagNodes that require special behavior based on the SecurityContext of the
TagChangeListeners
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(TagChangeListener listener) SubscriptionNode added a TagChangeListenervoid
onSubscriptionTargetSet
(NodeValueDistributor distributor, List<TagChangeListener> initialListeners) void
removeListener
(TagChangeListener listener) SubscriptionNode removed a TagChangeListener
-
Method Details
-
onSubscriptionTargetSet
void onSubscriptionTargetSet(NodeValueDistributor distributor, List<TagChangeListener> initialListeners) - Parameters:
distributor
- Function used to deliver TagChangeEvents back through the subscription systeminitialListeners
- Listeners already added SubscriptionNode before target was set
-
addListener
SubscriptionNode added a TagChangeListener -
removeListener
SubscriptionNode removed a TagChangeListener
-