public interface DataStore
Modifier and Type | Method and Description |
---|---|
void |
attachListener(String nodeId,
DataListener listener)
Attach a listener to a data node
|
NotifyFuture<Void> |
deleteNode(String nodeId) |
void |
detachListener(String nodeId,
DataListener listener) |
NotifyFuture<DataNode> |
readNode(String nodeId)
Get the data node
|
NotifyFuture<Void> |
writeNode(DataNode node) |
void attachListener(String nodeId, DataListener listener)
The listener is called with the current status of the node when attaching.
nodeId
- the node id to attach tolistener
- the listener that will receive eventsvoid detachListener(String nodeId, DataListener listener)
NotifyFuture<Void> deleteNode(String nodeId)
NotifyFuture<Void> writeNode(DataNode node)
NotifyFuture<DataNode> readNode(String nodeId)
nodeId
- the id of the node to getnull
if the node does not exists.Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.