public class ProviderSubscriptionModel extends java.lang.Object implements TagSubscriptionChangeListener
Modifier and Type | Class and Description |
---|---|
protected class |
ProviderSubscriptionModel.WildcardListenerTree |
Modifier and Type | Field and Description |
---|---|
protected ProviderSubscriptionModel.WildcardListenerTree |
wildcardListeners |
Constructor and Description |
---|
ProviderSubscriptionModel(TagProvider provider,
TagSubscriptionModel model) |
Modifier and Type | Method and Description |
---|---|
protected void |
addSubscriptions(java.util.Collection<TagSubscription> subs) |
protected boolean |
isWildcardPath(TagPath path) |
protected void |
notifyAllRemoved()
Sends a tag change for every subscribed tag saying that the tag is no longer available.
|
void |
notifyTagChange(TagPath path,
Tag tag,
TagProp prop) |
void |
shutdown()
Disconnects the subscription model from the SQLTags system.
|
void |
subscriptionChanged(TagSubscriptionChangeEvent event) |
protected ProviderSubscriptionModel.WildcardListenerTree wildcardListeners
public ProviderSubscriptionModel(TagProvider provider, TagSubscriptionModel model)
public void shutdown()
public void subscriptionChanged(TagSubscriptionChangeEvent event)
subscriptionChanged
in interface TagSubscriptionChangeListener
protected boolean isWildcardPath(TagPath path)
protected void addSubscriptions(java.util.Collection<TagSubscription> subs)
protected void notifyAllRemoved()