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 theTagChangeListeners
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addListener(TagChangeListener listener)
SubscriptionNode added a TagChangeListenervoid
onSubscriptionTargetSet(NodeValueDistributor distributor, java.util.List<TagChangeListener> initialListeners)
void
removeListener(TagChangeListener listener)
SubscriptionNode removed a TagChangeListener
-
-
-
Method Detail
-
onSubscriptionTargetSet
void onSubscriptionTargetSet(NodeValueDistributor distributor, java.util.List<TagChangeListener> initialListeners)
- Parameters:
distributor
- Function used to deliver TagChangeEvents back through the subscription systeminitialListeners
- Listeners already added SubscriptionNode before target was set
-
addListener
void addListener(TagChangeListener listener)
SubscriptionNode added a TagChangeListener
-
removeListener
void removeListener(TagChangeListener listener)
SubscriptionNode removed a TagChangeListener
-
-