public abstract class AbstractDataSourceSummarizer extends AbstractInputDataSource
DATA_SOURCE_ID| Constructor and Description |
|---|
AbstractDataSourceSummarizer(java.util.concurrent.Executor executor,
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected java.util.concurrent.Executor |
getExecutor()
Return the executor to use for sending out events
|
protected void |
handleAdded(DataSource service,
java.util.Dictionary<?,?> properties) |
protected abstract void |
handleAdding(DataSource source)
Called right before the new data source is added but before it is registered
|
protected abstract void |
handleRemoved(DataSource source)
Called after the data source has been removed
|
protected void |
handleRemoved(DataSource service,
java.util.Dictionary<?,?> properties) |
protected abstract void |
handleStateChange(DataSource source,
DataItemValue value) |
protected boolean |
isMatch(DataSource service,
java.util.Dictionary<?,?> properties) |
void |
open() |
startWriteAttributes, startWriteValueaddListener, removeListener, updateDatapublic AbstractDataSourceSummarizer(java.util.concurrent.Executor executor,
tracker)
protected boolean isMatch(DataSource service, java.util.Dictionary<?,?> properties)
protected java.util.concurrent.Executor getExecutor()
AbstractDataSourcegetExecutor in class AbstractDataSourcenullpublic void open()
public void close()
protected void handleAdded(DataSource service, java.util.Dictionary<?,?> properties)
protected void handleRemoved(DataSource service, java.util.Dictionary<?,?> properties)
protected abstract void handleAdding(DataSource source)
source - the source that changedprotected abstract void handleRemoved(DataSource source)
source - the source that changedprotected abstract void handleStateChange(DataSource source, DataItemValue value)
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