Class TagHistorianGatewayHook.DSListener
- java.lang.Object
-
- com.inductiveautomation.gateway.tags.history.module.TagHistorianGatewayHook.DSListener
-
- All Implemented Interfaces:
IRecordListener<DatasourceRecord>
- Enclosing class:
- TagHistorianGatewayHook
protected class TagHistorianGatewayHook.DSListener extends java.lang.Object implements IRecordListener<DatasourceRecord>
This class watches datasources, and then updates tag historian records accordingly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DSListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createTHRecord(java.lang.String name)
void
recordAdded(DatasourceRecord record)
void
recordDeleted(KeyValue key)
void
recordUpdated(DatasourceRecord record)
void
shutdown()
void
startup()
-
-
-
Method Detail
-
startup
public void startup()
-
shutdown
public void shutdown()
-
createTHRecord
protected void createTHRecord(java.lang.String name)
-
recordUpdated
public void recordUpdated(DatasourceRecord record)
- Specified by:
recordUpdated
in interfaceIRecordListener<DatasourceRecord>
-
recordAdded
public void recordAdded(DatasourceRecord record)
- Specified by:
recordAdded
in interfaceIRecordListener<DatasourceRecord>
-
recordDeleted
public void recordDeleted(KeyValue key)
- Specified by:
recordDeleted
in interfaceIRecordListener<DatasourceRecord>
-
-