public class DataNodeTracker extends Object
| Constructor and Description |
|---|
DataNodeTracker(org.osgi.framework.BundleContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(String nodeId,
DataListener listener)
Add a listener for a data node
|
void |
close() |
protected void |
handleService(DataStore service) |
void |
open() |
void |
removeListener(String nodeId,
DataListener listener)
Remove a listener for a data node
|
boolean |
write(DataNode node)
Write to the data node if there currently is a service attached
|
protected void handleService(DataStore service)
public void open()
public void close()
public void addListener(String nodeId, DataListener listener)
nodeId - the node to listen tolistener - the listener to addpublic void removeListener(String nodeId, DataListener listener)
nodeId - the node to remove the listener fromlistener - the listener to removepublic boolean write(DataNode node)
node - the node to writetrue if the service was attached an the request was
passed on to the service, false otherwise.Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.