public interface ChartDataRequest
Modifier and Type | Method and Description |
---|---|
RequestCriteria |
getRequestCriteria()
Call this method to retrieve the RequestCriteria for the current request.
|
void |
sendDataResponse(java.lang.String seriesName,
java.util.List<OhlcvData> ohlcvData)
When data has been retrieved by a ChartDataProvider for a request, it should call
sendDataResponse with the retrieved data.
|
void |
sendErrorResponse()
If a ChartDataProvider determines that this request is not valid then it should call
sendErrorResponse.
|
void sendDataResponse(java.lang.String seriesName, java.util.List<OhlcvData> ohlcvData)
seriesName
- the name of the data series.ohlcvData
- a list of OhlcvData objects representing all the data that was requested. May not be
null.void sendErrorResponse()
RequestCriteria getRequestCriteria()
Please send bug reports and comments to Caplin support