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)

master272.com
from master272.com More from this publisher
26.10.2014 Views

AdfinX Real Time 1.0 Library - User's Guide 2.4.6. OnStatusChange OnStatusChange(MyList,ListStatus, SourceStatus, RunMode) The OnStatusChange event causes a call to this method of the object providing the IListEvents interface for the AdxRtList object. The two objects were linked through a call to the AdxRtList object’s ListAdvise method. Arguments MyList ListStatus SourceStatus RunMode A pointer to the IAdxRtList interface of the AdxRtList object for which the event was delivered. The current status of the AdxRtList object. This is a value from the RT_ListStatus enumeration. The current status of the data source (identified by the Source property). This is a value from the RT_SourceStatus enumeration. The current update mode, usually changed through the StartUpdates method. This is a value from the RT_RunMode enumeration. 30

AdfinX Real Time 1.0 Library - User's Guide 3. ADXRTCONTRIBUTE 3.1. ADXRTCONTRIBUTE PROPERTIES 3.1.1. ErrorMode ErrorMode This property sets the error mode for the object. When an error is detected, this property is consulted to see what action should be taken by the object to inform the user of the application. It must be assigned a value from the AdxErrorMode enumeration. By default the error mode is set to EXCEPTION. Arguments None 3.1.2. ErrorCode ErrorCode This property retrieves the error code of the latest error encountered by the object as an integer value. If the ErrorMode property of the object is set to NO_EXCEPTION, this value must be consulted by the client application to determine whether an error has occurred. Arguments None 3.1.3. ErrorString ErrorString This property retrieves a string describing the latest error encountered by the object. If the ErrorMode property of the object is set to NO_EXCEPTION, this value can be consulted by the client application when the ErrorCode property indicates that an error has occurred. Arguments None 3.1.4. Mode Mode This property describes various behavioural aspects of the AdxRtContribute object. In particular, it determines how the contribution object will deliver data update events to the client application. The allowed parameters are: FORMAT : The format applied to a numeric data contributed to a page. FORMAT:i: j set a format with a total field width of i characters and a decimal precision of j digits. 31

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

3. ADXRTCONTRIBUTE<br />

3.1. ADXRTCONTRIBUTE PROPERTIES<br />

3.1.1. ErrorMode<br />

ErrorMode<br />

This property sets the error mode for the object. When an error is detected, this property is consulted<br />

to see what action should be taken by the object to inform the user of the application. It must be<br />

assigned a value from the AdxErrorMode enumeration.<br />

By default the error mode is set to EXCEPTION.<br />

Arguments<br />

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

3.1.2. ErrorCode<br />

ErrorCode<br />

This property retrieves the error code of the latest error encountered by the object as an integer value.<br />

If the ErrorMode property of the object is set to NO_EXCEPTION, this value must be consulted by the<br />

client application to determine whether an error has occurred.<br />

Arguments<br />

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

3.1.3. ErrorString<br />

ErrorString<br />

This property retrieves a string describing the latest error encountered by the object. If the ErrorMode<br />

property of the object is set to NO_EXCEPTION, this value can be consulted by the client application<br />

when the ErrorCode property indicates that an error has occurred.<br />

Arguments<br />

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

3.1.4. Mode<br />

Mode<br />

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

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

allowed parameters are:<br />

FORMAT : The format applied to a numeric data contributed to a page.<br />

FORMAT:i: j set a format with a total field width of i characters and<br />

a decimal precision of j digits.<br />

31

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

Saved successfully!

Ooh no, something went wrong!