Class
caplin.chart.service

StreamLinkChartService

This is the default implementation for the caplin.chart-service service.

Constructor Summary

Attributes Name and Description
caplin.chart.service.StreamLinkChartService()

Method Summary

Attributes Name and Description
void discard(caplin.chart.series.SeriesRequest seriesRequest, Object listener)

Discards the chart data for the given request and listener.

void retrieve(caplin.chart.series.SeriesRequest seriesRequest, Object listener)

Retrieves data based upon the provided request object.

Constructor Detail

caplin.chart.service.StreamLinkChartService()

Method Detail

void discard(caplin.chart.series.SeriesRequest seriesRequest, Object listener)

Discards the chart data for the given request and listener.

Parameters
caplin.chart.series.SeriesRequest seriesRequest The series request object.
Object listener The subscription event listener.

void retrieve(caplin.chart.series.SeriesRequest seriesRequest, Object listener)

Retrieves data based upon the provided request object.

Parameters
caplin.chart.series.SeriesRequest seriesRequest The series request object.
Object listener The subscription event listener.
Throws
caplin.core.Error
If seriesRequest was already used to retrieve the chart data.