public class HttpImageDataSourceRT extends PollingDataSource
Modifier and Type | Class and Description |
---|---|
(package private) class |
HttpImageDataSourceRT.ImageRetriever |
(package private) class |
HttpImageDataSourceRT.ImageRetrieverMonitor |
Modifier and Type | Field and Description |
---|---|
static int |
DATA_RETRIEVAL_FAILURE_EVENT |
static int |
FILE_SAVE_EXCEPTION_EVENT |
(package private) static org.apache.commons.logging.Log |
LOG |
dataPoints, pointListChanged
addedChangedPoints, ATTR_DISCONNECTED_KEY, ATTR_UNRELIABLE_KEY, pointListChangeLock, removedPoints
Constructor and Description |
---|
HttpImageDataSourceRT(HttpImageDataSourceVO vo) |
Modifier and Type | Method and Description |
---|---|
protected void |
doPoll(long time) |
static byte[] |
getData(java.lang.String url,
int timeoutSeconds,
int retries,
int readLimitKb) |
void |
setPointValue(DataPointRT dataPoint,
PointValueTime valueTime,
SetPointSource source) |
beginPolling, joinTermination, scheduleTimeout, setPollingPeriod, terminate, updateChangedPoints
addDataPoint, forcePointRead, getExceptionMessage, getId, getName, getPersistentData, getSerialExceptionMessage, initialize, raiseEvent, relinquish, removeDataPoint, returnToNormal, setPersistentData
static final org.apache.commons.logging.Log LOG
public static final int DATA_RETRIEVAL_FAILURE_EVENT
public static final int FILE_SAVE_EXCEPTION_EVENT
public HttpImageDataSourceRT(HttpImageDataSourceVO vo)
public void setPointValue(DataPointRT dataPoint, PointValueTime valueTime, SetPointSource source)
setPointValue
in class DataSourceRT
protected void doPoll(long time)
doPoll
in class PollingDataSource
public static byte[] getData(java.lang.String url, int timeoutSeconds, int retries, int readLimitKb) throws com.serotonin.web.i18n.LocalizableException
com.serotonin.web.i18n.LocalizableException