public class HttpRetrieverDataSourceRT extends PollingDataSource
| Modifier and Type | Field and Description |
|---|---|
static int |
DATA_RETRIEVAL_FAILURE_EVENT |
static int |
PARSE_EXCEPTION_EVENT |
private static int |
READ_LIMIT |
private HttpRetrieverDataSourceVO |
vo |
dataPoints, pointListChangedaddedChangedPoints, ATTR_DISCONNECTED_KEY, ATTR_UNRELIABLE_KEY, pointListChangeLock, removedPoints| Constructor and Description |
|---|
HttpRetrieverDataSourceRT(HttpRetrieverDataSourceVO vo) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doPoll(long time) |
static java.lang.String |
getData(java.lang.String url,
int timeoutSeconds,
int retries) |
void |
removeDataPoint(DataPointRT dataPoint) |
void |
setPointValue(DataPointRT dataPoint,
PointValueTime valueTime,
SetPointSource source) |
beginPolling, joinTermination, scheduleTimeout, setPollingPeriod, terminate, updateChangedPointsaddDataPoint, forcePointRead, getExceptionMessage, getId, getName, getPersistentData, getSerialExceptionMessage, initialize, raiseEvent, relinquish, returnToNormal, setPersistentDataprivate static final int READ_LIMIT
public static final int DATA_RETRIEVAL_FAILURE_EVENT
public static final int PARSE_EXCEPTION_EVENT
private final HttpRetrieverDataSourceVO vo
public HttpRetrieverDataSourceRT(HttpRetrieverDataSourceVO vo)
public void removeDataPoint(DataPointRT dataPoint)
removeDataPoint in class DataSourceRTpublic void setPointValue(DataPointRT dataPoint, PointValueTime valueTime, SetPointSource source)
setPointValue in class DataSourceRTprotected void doPoll(long time)
doPoll in class PollingDataSourcepublic static java.lang.String getData(java.lang.String url,
int timeoutSeconds,
int retries)
throws com.serotonin.web.i18n.LocalizableException
com.serotonin.web.i18n.LocalizableException