public class MonitorQuerySource extends java.lang.Object implements SubscriptionSource, MonitorQueryListener
| Constructor and Description |
|---|
MonitorQuerySource(java.lang.String queryId,
MonitorQuery monitorQuery) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(java.util.Collection<SubscriptionInformation> listeners) |
void |
dataChanged(java.util.List<MonitorStatusInformation> addedOrUpdated,
java.util.Set<java.lang.String> removed,
boolean full) |
void |
removeListener(java.util.Collection<SubscriptionInformation> listeners) |
boolean |
supportsListener(SubscriptionInformation subscriptionInformation)
Validate if the provided subcription information can bind to this subscription source
|
public MonitorQuerySource(java.lang.String queryId,
MonitorQuery monitorQuery)
public void addListener(java.util.Collection<SubscriptionInformation> listeners)
addListener in interface SubscriptionSourcepublic void removeListener(java.util.Collection<SubscriptionInformation> listeners)
removeListener in interface SubscriptionSourcepublic boolean supportsListener(SubscriptionInformation subscriptionInformation)
SubscriptionSourcesupportsListener in interface SubscriptionSourcesubscriptionInformation - 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(java.util.List<MonitorStatusInformation> addedOrUpdated, java.util.Set<java.lang.String> removed, boolean full)
dataChanged in interface MonitorQueryListener
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0