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, pointListChangedaddedChangedPoints, 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, updateChangedPointsaddDataPoint, forcePointRead, getExceptionMessage, getId, getName, getPersistentData, getSerialExceptionMessage, initialize, raiseEvent, relinquish, removeDataPoint, returnToNormal, setPersistentDataprivate 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 PollingDataSourceprotected void initialize(DNP3Master dnp3Master)
public void terminate()
terminate in interface com.serotonin.util.ILifecycleterminate in class PollingDataSourcepublic void setPointValue(DataPointRT dataPoint, PointValueTime valueTime, SetPointSource source)
setPointValue in class DataSourceRTprotected com.serotonin.web.i18n.LocalizableMessage getLocalExceptionMessage(java.lang.Exception e)