public class DataStoreDataSource extends AbstractDataSource implements DataListener
DATA_SOURCE_ID
Constructor and Description |
---|
DataStoreDataSource(org.osgi.framework.BundleContext context,
String id,
Executor executor,
DataNodeTracker dataNodeTracker) |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.scada.da.datasource.ds.DataStoreDataSource.Value |
convertValue(DataNode node) |
void |
dispose() |
protected Executor |
getExecutor()
Return the executor to use for sending out events
|
void |
nodeChanged(DataNode node)
Gets called when the node changed.
|
NotifyFuture<WriteAttributeResults> |
startWriteAttributes(Map<String,Variant> attributes,
OperationParameters operationParameters) |
NotifyFuture<WriteResult> |
startWriteValue(Variant value,
OperationParameters operationParameters) |
void |
update(Map<String,String> parameters) |
addListener, removeListener, updateData
public DataStoreDataSource(org.osgi.framework.BundleContext context, String id, Executor executor, DataNodeTracker dataNodeTracker)
protected Executor getExecutor()
AbstractDataSource
getExecutor
in class AbstractDataSource
null
public NotifyFuture<WriteAttributeResults> startWriteAttributes(Map<String,Variant> attributes, OperationParameters operationParameters)
startWriteAttributes
in interface DataSource
public NotifyFuture<WriteResult> startWriteValue(Variant value, OperationParameters operationParameters)
startWriteValue
in interface DataSource
public void dispose()
protected org.eclipse.scada.da.datasource.ds.DataStoreDataSource.Value convertValue(DataNode node) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public void nodeChanged(DataNode node)
DataListener
nodeChanged
in interface DataListener
node
- the current status or null
if
the does not exist or gets deleted.Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.