26.10.2014 Views

Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)

Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)

Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>AdfinX</strong> <strong>Real</strong> <strong>Time</strong> <strong>1.0</strong> <strong>Library</strong> - <strong>User</strong>'s <strong>Guide</strong><br />

5.2. ADXRTHISTORY METHODS<br />

5.2.1. RequestHistory<br />

RequestHistory(FieldList)<br />

This method causes a request for time series data concerning the item identified by the ItemName<br />

property. Historical data is retrieved for the fields listed in the parameter FieldList, if possible (the<br />

actual list of fields retrieved will be stored in the ExistingFields property). This action occurs<br />

asynchronously; the arrival of history data, or an indication of a request error, causes the OnUpdate<br />

event to occur.<br />

Arguments<br />

FieldList<br />

An array of field names as strings, identifying the fields for which historical<br />

values should be retrieved. If empty, all fields available in the time series will<br />

be retrieved.<br />

5.2.2. FlushData<br />

FlushData()<br />

This method causes the history object to forget all data retrieved through a previous call to<br />

RequestHistory.<br />

Arguments<br />

<strong>No</strong>ne.<br />

5.3. ADXRTHISTORY EVENTS<br />

5.3.1. OnUpdate<br />

OnUpdate(DataStatus)<br />

This callback handles updates to the requested historical data, following a call to the<br />

RequestHistory method. It may be called a number of times as updates occur, filling the Data<br />

property with historical event information, before the retrieved time series is complete (according to the<br />

constraints applied using the Mode property).<br />

Arguments<br />

DataStatus<br />

The status of the data retrieved by the request. This is a value taken from the<br />

RT_DataStatus enumeration.<br />

45

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!