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 Details

    • onSubscriptionTargetSet

      void onSubscriptionTargetSet(NodeValueDistributor distributor, List<TagChangeListener> initialListeners)
      Parameters:
      distributor - Function used to deliver TagChangeEvents back through the subscription system
      initialListeners - 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