|
dxFeed Graal Native SDK 3.9.0
|
Data Structures | |
| struct | dxfg_subscription_t |
| struct | dxfg_time_series_subscription_t |
| struct | dxfg_feed_event_listener_t |
Typedefs | |
| typedef struct dxfg_feed_t | dxfg_feed_t |
| Forward declarations. | |
| typedef struct dxfg_subscription_controller_t | dxfg_subscription_controller_t |
| typedef struct dxfg_subscription_t | dxfg_subscription_t |
| typedef struct dxfg_time_series_subscription_t | dxfg_time_series_subscription_t |
| typedef struct dxfg_feed_event_listener_t | dxfg_feed_event_listener_t |
| typedef void(*) | dxfg_feed_event_listener_function(graal_isolatethread_t *thread, dxfg_event_type_list *events, void *user_data) |
| typedef void(*) dxfg_feed_event_listener_function(graal_isolatethread_t *thread, dxfg_event_type_list *events, void *user_data) |
| typedef struct dxfg_feed_event_listener_t dxfg_feed_event_listener_t |
| typedef struct dxfg_feed_t dxfg_feed_t |
Forward declarations.
| typedef struct dxfg_subscription_controller_t dxfg_subscription_controller_t |
| typedef struct dxfg_subscription_t dxfg_subscription_t |
| typedef struct dxfg_time_series_subscription_t dxfg_time_series_subscription_t |
| dxfg_feed_event_listener_t * dxfg_DXFeedEventListener_new | ( | graal_isolatethread_t * | thread, |
| dxfg_feed_event_listener_function | user_func, | ||
| void * | user_data ) |
Creates a new event listener.
| [in] | thread | The current GraalVM Isolate's thread. |
| [in] | user_func | The function to call with the received events. |
| [in] | user_data | The user data to pass to the function. |
| int32_t dxfg_DXFeedSubscription_addChangeListener | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| dxfg_observable_subscription_change_listener_t * | listener ) |
| int32_t dxfg_DXFeedSubscription_addEventListener | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| dxfg_feed_event_listener_t * | listener ) |
Adds the event listener to the subscription. Add the listeners before the symbols: QD fails with IllegalStateException when a listener is added to an attached subscription that already has symbols.
| [in] | thread | The current GraalVM Isolate's thread. |
| [in] | sub | The subscription. |
| [in] | listener | The listener. |
| int32_t dxfg_DXFeedSubscription_addSymbol | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| dxfg_symbol_t * | symbol ) |
| int32_t dxfg_DXFeedSubscription_addSymbols | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| dxfg_symbol_list * | symbols ) |
| int32_t dxfg_DXFeedSubscription_attach | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| dxfg_feed_t * | feed ) |
| int32_t dxfg_DXFeedSubscription_clear | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub ) |
| int32_t dxfg_DXFeedSubscription_close | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub ) |
| int32_t dxfg_DXFeedSubscription_containsEventType | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| dxfg_event_clazz_t | eventClazz ) |
| int32_t dxfg_DXFeedSubscription_detach | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| dxfg_feed_t * | feed ) |
| dxfg_time_period_t * dxfg_DXFeedSubscription_getAggregationPeriod | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub ) |
| int32_t dxfg_DXFeedSubscription_getAggregationPeriodMillis | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| DXFG_OUT int64_t * | aggregationPeriod ) |
Returns the aggregation period (in millis) for data for this subscription instance.
| [in] | thread | The current GraalVM Isolate's thread. |
| [in] | sub | The subscription handle. |
| [out] | aggregationPeriod | A pointer to the aggregation period. |
| dxfg_symbol_list * dxfg_DXFeedSubscription_getDecoratedSymbols | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub ) |
| int32_t dxfg_DXFeedSubscription_getEventsBatchLimit | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub ) |
| dxfg_event_clazz_list_t * dxfg_DXFeedSubscription_getEventTypes | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub ) |
| dxfg_executor_t * dxfg_DXFeedSubscription_getExecutor | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub ) |
| int32_t dxfg_DXFeedSubscription_getSubscriptionController | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| DXFG_OUT dxfg_subscription_controller_t ** | subscriptionController ) |
Returns the subscription controller for this subscription.
| [in] | thread | The current GraalVM Isolate's thread. |
| [in] | sub | The subscription handle. |
| [out] | subscriptionController | The pointer to the handle of the subscription controller of this subscription. |
| dxfg_symbol_list * dxfg_DXFeedSubscription_getSymbols | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub ) |
| int32_t dxfg_DXFeedSubscription_isClosed | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub ) |
| dxfg_subscription_t * dxfg_DXFeedSubscription_new | ( | graal_isolatethread_t * | thread, |
| dxfg_event_clazz_t | eventClazz ) |
| dxfg_subscription_t * dxfg_DXFeedSubscription_new2 | ( | graal_isolatethread_t * | thread, |
| dxfg_event_clazz_list_t * | eventClazzes ) |
| int32_t dxfg_DXFeedSubscription_removeChangeListener | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| dxfg_observable_subscription_change_listener_t * | listener ) |
| int32_t dxfg_DXFeedSubscription_removeEventListener | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| dxfg_feed_event_listener_t * | listener ) |
Removes the event listener from the subscription.
The listener may still receive one more batch of events after this function (or dxfg_DXFeedSubscription_close()) returns. Release the listener (dxfg_JavaObjectHandler_release()) or deactivate it (dxfg_NativeListener_deactivate()) to be sure that its function is not called anymore.
| [in] | thread | The current GraalVM Isolate's thread. |
| [in] | sub | The subscription. |
| [in] | listener | The listener. |
| int32_t dxfg_DXFeedSubscription_removeSymbol | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| dxfg_symbol_t * | symbol ) |
| int32_t dxfg_DXFeedSubscription_removeSymbols | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| dxfg_symbol_list * | symbols ) |
| int32_t dxfg_DXFeedSubscription_setAggregationPeriod | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| dxfg_time_period_t * | period ) |
| int32_t dxfg_DXFeedSubscription_setAggregationPeriodMillis | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| int64_t | aggregationPeriod ) |
Sets the aggregation period for data. This method sets a new aggregation period for data, which will only take effect on the next iteration of data notification. For example, if the current aggregation period is 5 seconds, and it is changed to 1 second, the next call to the next call to the retrieve method may take up to 5 seconds, after which the new aggregation period will take effect.
| [in] | thread | The current GraalVM Isolate's thread. |
| [in] | sub | The subscription handle. |
| [in] | aggregationPeriod | The aggregation period in millis. |
| int32_t dxfg_DXFeedSubscription_setEventsBatchLimit | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| int32_t | eventsBatchLimit ) |
| int32_t dxfg_DXFeedSubscription_setExecutor | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| dxfg_executor_t * | executor ) |
| int32_t dxfg_DXFeedSubscription_setSymbol | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| dxfg_symbol_t * | symbol ) |
| int32_t dxfg_DXFeedSubscription_setSymbols | ( | graal_isolatethread_t * | thread, |
| dxfg_subscription_t * | sub, | ||
| dxfg_symbol_list * | symbols ) |