public class MonitorQuerySource extends Object implements SubscriptionSource<String>, MonitorQueryListener
| Constructor and Description |
|---|
MonitorQuerySource(String queryId,
MonitorQuery monitorQuery) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(Collection<SubscriptionInformation<String>> listeners) |
void |
dataChanged(List<MonitorStatusInformation> addedOrUpdated,
Set<String> removed,
boolean full) |
void |
removeListener(Collection<SubscriptionInformation<String>> listeners) |
boolean |
supportsListener(SubscriptionInformation<String> subscriptionInformation)
Validate if the provided subcription information can bind to this
subscription source
|
public MonitorQuerySource(String queryId, MonitorQuery monitorQuery)
public void addListener(Collection<SubscriptionInformation<String>> listeners)
addListener in interface SubscriptionSource<String>public void removeListener(Collection<SubscriptionInformation<String>> listeners)
removeListener in interface SubscriptionSource<String>public boolean supportsListener(SubscriptionInformation<String> subscriptionInformation)
SubscriptionSourcesupportsListener in interface SubscriptionSource<String>subscriptionInformation - The information to checktrue if the listener can bind to this event source.
In this case the SubscriptionSource.addListener(Collection) method may not
reject the listener.public void dataChanged(List<MonitorStatusInformation> addedOrUpdated, Set<String> removed, boolean full)
dataChanged in interface MonitorQueryListenerCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.