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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

2. ADXRTLIST<br />

2.1. ADXRTLIST PROPERTIES<br />

2.1.1. Source<br />

Source<br />

Name of the data source as a string.<br />

Arguments<br />

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

Error Handling<br />

Depends on the value of the DebugLevel general property, as follows:<br />

RT_DEBUG_NO<br />

If the source is already known as invalid or down, an exception is raised. If the status of the<br />

source is unknown, then the process continues without any warning or error.<br />

RT_DEBUG_IMMEDIATE<br />

When using SSL, the source is checked for validity. If it is not valid an exception is raised<br />

before setting a new property value.<br />

If the source is unknown or down an exception is raised.<br />

It is important to note that in this mode the setting of the Source property could be very slow.<br />

Example<br />

Public list as AdxRtList<br />

Set list = New AdxRtList<br />

'Declare as global variable'<br />

'Create an instance of the list object. This syntax is more<br />

efficient than when only the new instruction is used. Otherwise,<br />

before execution, Visual Basic will test each statement<br />

containing list for the value <strong>No</strong>thing. '<br />

list.Source = "IDN_SELECTFEED"<br />

'Set the source name to "IDN_SELECTFEED"'<br />

2.1.2. Mode<br />

Mode<br />

This property describes various behavioural aspects of the AdxRtList object. In particular, it<br />

determines how the list object will deliver data update events to the client application. The allowed<br />

parameters are:<br />

FRQ : The frequency of regularly generated events. If the list’s StartUpdates<br />

method was called with the run mode value RT_MODE_ONTIME or<br />

RT_MODE_ONTIME_IF_UPDATED, On<strong>Time</strong> events will be triggered at this<br />

frequency. The minimum frequency is one event per second.<br />

FRQ:iH set a frequency of one event every i hours.<br />

FRQ:iM set a frequency of one event every i minutes.<br />

FRQ:iS set a frequency of one event every i seconds.<br />

The default frequency is one event every 10 seconds.<br />

10

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

Saved successfully!

Ooh no, something went wrong!