public class ProviderSubscriptionModel extends java.lang.Object implements TagSubscriptionChangeListener
Constructor and Description |
---|
ProviderSubscriptionModel(TagProvider provider,
TagSubscriptionModel model) |
Modifier and Type | Method and Description |
---|---|
protected void |
addSubscriptions(java.util.Collection<TagSubscription> subs) |
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) |
public ProviderSubscriptionModel(TagProvider provider, TagSubscriptionModel model)
public void shutdown()
public void subscriptionChanged(TagSubscriptionChangeEvent event)
subscriptionChanged
in interface TagSubscriptionChangeListener
protected void addSubscriptions(java.util.Collection<TagSubscription> subs)
protected void notifyAllRemoved()