public class OPCDataSource extends PollingDataSource
| Modifier and Type | Field and Description | 
|---|---|
static int | 
DATA_SOURCE_EXCEPTION_EVENT  | 
private org.apache.commons.logging.Log | 
LOG  | 
private br.org.scadabr.OPCMaster | 
opcMaster  | 
static int | 
POINT_READ_EXCEPTION_EVENT  | 
static int | 
POINT_WRITE_EXCEPTION_EVENT  | 
private int | 
timeoutCount  | 
private int | 
timeoutsToReconnect  | 
private OPCDataSourceVO<?> | 
vo  | 
dataPoints, pointListChangedaddedChangedPoints, ATTR_DISCONNECTED_KEY, ATTR_UNRELIABLE_KEY, pointListChangeLock, removedPoints| Constructor and Description | 
|---|
OPCDataSource(OPCDataSourceVO<?> vo)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
doPoll(long time)  | 
void | 
initialize()  | 
void | 
setPointValue(DataPointRT dataPoint,
             PointValueTime valueTime,
             SetPointSource source)  | 
void | 
terminate()  | 
beginPolling, joinTermination, scheduleTimeout, setPollingPeriod, updateChangedPointsaddDataPoint, forcePointRead, getExceptionMessage, getId, getName, getPersistentData, getSerialExceptionMessage, 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
public static final int POINT_WRITE_EXCEPTION_EVENT
private br.org.scadabr.OPCMaster opcMaster
private final OPCDataSourceVO<?> vo
private int timeoutCount
private int timeoutsToReconnect
public OPCDataSource(OPCDataSourceVO<?> vo)
protected void doPoll(long time)
doPoll in class PollingDataSourcepublic void setPointValue(DataPointRT dataPoint, PointValueTime valueTime, SetPointSource source)
setPointValue in class DataSourceRTpublic void initialize()
initialize in interface com.serotonin.util.ILifecycleinitialize in class DataSourceRTpublic void terminate()
terminate in interface com.serotonin.util.ILifecycleterminate in class PollingDataSource