public class Dnp3DataSource extends PollingDataSource
Modifier and Type | Field and Description |
---|---|
static int |
DATA_SOURCE_EXCEPTION_EVENT |
private DNP3Master |
dnp3Master |
private org.apache.commons.logging.Log |
LOG |
static int |
POINT_READ_EXCEPTION_EVENT |
private Dnp3DataSourceVO<?> |
vo |
dataPoints, pointListChanged
addedChangedPoints, ATTR_DISCONNECTED_KEY, ATTR_UNRELIABLE_KEY, pointListChangeLock, removedPoints
Constructor and Description |
---|
Dnp3DataSource(Dnp3DataSourceVO<?> vo) |
Modifier and Type | Method and Description |
---|---|
protected void |
doPoll(long time) |
protected com.serotonin.web.i18n.LocalizableMessage |
getLocalExceptionMessage(java.lang.Exception e) |
protected void |
initialize(DNP3Master dnp3Master) |
void |
setPointValue(DataPointRT dataPoint,
PointValueTime valueTime,
SetPointSource source) |
void |
terminate() |
beginPolling, joinTermination, scheduleTimeout, setPollingPeriod, updateChangedPoints
addDataPoint, forcePointRead, getExceptionMessage, getId, getName, getPersistentData, getSerialExceptionMessage, initialize, raiseEvent, relinquish, removeDataPoint, returnToNormal, setPersistentData
private final org.apache.commons.logging.Log LOG
public static final int POINT_READ_EXCEPTION_EVENT
public static final int DATA_SOURCE_EXCEPTION_EVENT
private DNP3Master dnp3Master
private final Dnp3DataSourceVO<?> vo
public Dnp3DataSource(Dnp3DataSourceVO<?> vo)
protected void doPoll(long time)
doPoll
in class PollingDataSource
protected void initialize(DNP3Master dnp3Master)
public void terminate()
terminate
in interface com.serotonin.util.ILifecycle
terminate
in class PollingDataSource
public void setPointValue(DataPointRT dataPoint, PointValueTime valueTime, SetPointSource source)
setPointValue
in class DataSourceRT
protected com.serotonin.web.i18n.LocalizableMessage getLocalExceptionMessage(java.lang.Exception e)