dxFeed Graal Native SDK 3.14.0
Loading...
Searching...
No Matches
dxfg_subscription_controller.h
Go to the documentation of this file.
1// Copyright (c) 2025 Devexperts LLC.
2// SPDX-License-Identifier: MPL-2.0
3
8
9#ifndef DXFG_SUBSCRIPTION_CONTROLLER_H
10#define DXFG_SUBSCRIPTION_CONTROLLER_H
11
12#ifdef __cplusplus
13extern "C" {
14# include <cstdint>
15#else
16# include <stdint.h>
17#endif
18
19#include "dxfg_common.h"
20
21#include "dxfg_javac.h"
22#include "graal_isolate.h"
23
40
42// Forward declaration: the type is described in dxfg_feed.h.
43typedef struct dxfg_feed_t dxfg_feed_t;
45
58
77DXFG_DEPRECATED("use dxfg_v4_SubscriptionController_attach() (experimental)")
79 dxfg_subscription_controller_t *subscriptionController, dxfg_feed_t *feed);
80
96DXFG_DEPRECATED("use dxfg_v4_SubscriptionController_detach() (experimental)")
98 dxfg_subscription_controller_t *subscriptionController, dxfg_feed_t *feed);
99
116DXFG_DEPRECATED("use dxfg_v4_SubscriptionController_getEventsBatchLimit() (experimental)")
118 dxfg_subscription_controller_t *subscriptionController,
119 DXFG_OUT int32_t *eventsBatchLimit);
120
137DXFG_DEPRECATED("use dxfg_v4_SubscriptionController_setEventsBatchLimit() (experimental)")
139 dxfg_subscription_controller_t *subscriptionController,
140 int32_t eventsBatchLimit);
141
158DXFG_DEPRECATED("use dxfg_v4_SubscriptionController_getAggregationPeriod() (experimental)")
160 dxfg_subscription_controller_t *subscriptionController,
161 DXFG_OUT dxfg_time_period_t **aggregationPeriod);
162
181DXFG_DEPRECATED("use dxfg_v4_SubscriptionController_getAggregationPeriodMillis() (experimental)")
183 dxfg_subscription_controller_t *subscriptionController,
184 DXFG_OUT int64_t *aggregationPeriod);
185
203DXFG_DEPRECATED("use dxfg_v4_SubscriptionController_setAggregationPeriod() (experimental)")
205 dxfg_subscription_controller_t *subscriptionController,
206 dxfg_time_period_t *aggregationPeriod);
207
224DXFG_DEPRECATED("use dxfg_v4_SubscriptionController_setAggregationPeriodMillis() (experimental)")
226 dxfg_subscription_controller_t *subscriptionController,
227 int64_t aggregationPeriod);
228
244DXFG_DEPRECATED("use dxfg_v4_SubscriptionController_getExecutor() (experimental)")
246 dxfg_subscription_controller_t *subscriptionController,
247 DXFG_OUT dxfg_executor_t **executor);
248
266DXFG_DEPRECATED("use dxfg_v4_SubscriptionController_setExecutor() (experimental)")
268 dxfg_subscription_controller_t *subscriptionController,
269 dxfg_executor_t *executor);
270 // end of SubscriptionController
272
273#ifdef __cplusplus
274}
275#endif
276
277#endif // DXFG_SUBSCRIPTION_CONTROLLER_H
dxFeed Graal Native SDK Common declarations
dxFeed Graal Native SDK Java functions and types declarations
The functions of GraalVM that create, attach to and tear down an isolate, the instance of the SDK in ...
struct __graal_isolatethread_t graal_isolatethread_t
The state of one thread attached to an isolate: the first parameter (thread) of the SDK functions.
Definition graal_isolate.h:60
#define DXFG_OUT
Definition dxfg_common.h:37
int32_t dxfg_SubscriptionController_setAggregationPeriod(graal_isolatethread_t *thread, dxfg_subscription_controller_t *subscriptionController, dxfg_time_period_t *aggregationPeriod)
int32_t dxfg_SubscriptionController_getEventsBatchLimit(graal_isolatethread_t *thread, dxfg_subscription_controller_t *subscriptionController, DXFG_OUT int32_t *eventsBatchLimit)
int32_t dxfg_SubscriptionController_getAggregationPeriod(graal_isolatethread_t *thread, dxfg_subscription_controller_t *subscriptionController, DXFG_OUT dxfg_time_period_t **aggregationPeriod)
int32_t dxfg_SubscriptionController_setAggregationPeriodMillis(graal_isolatethread_t *thread, dxfg_subscription_controller_t *subscriptionController, int64_t aggregationPeriod)
int32_t dxfg_SubscriptionController_setEventsBatchLimit(graal_isolatethread_t *thread, dxfg_subscription_controller_t *subscriptionController, int32_t eventsBatchLimit)
int32_t dxfg_SubscriptionController_detach(graal_isolatethread_t *thread, dxfg_subscription_controller_t *subscriptionController, dxfg_feed_t *feed)
int32_t dxfg_SubscriptionController_getAggregationPeriodMillis(graal_isolatethread_t *thread, dxfg_subscription_controller_t *subscriptionController, DXFG_OUT int64_t *aggregationPeriod)
int32_t dxfg_SubscriptionController_attach(graal_isolatethread_t *thread, dxfg_subscription_controller_t *subscriptionController, dxfg_feed_t *feed)
int32_t dxfg_SubscriptionController_getExecutor(graal_isolatethread_t *thread, dxfg_subscription_controller_t *subscriptionController, DXFG_OUT dxfg_executor_t **executor)
int32_t dxfg_SubscriptionController_setExecutor(graal_isolatethread_t *thread, dxfg_subscription_controller_t *subscriptionController, dxfg_executor_t *executor)
A handle of a Java Executor object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_javac.h:126
A handle of a Java DXFeed object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_feed.h:61
The handle of a Java object: the reference by which the C code refers to an object that lives in Java...
Definition dxfg_javac.h:60
A handle of a Java SubscriptionController object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_subscription_controller.h:54
dxfg_java_object_handler handler
Definition dxfg_subscription_controller.h:56
A handle of a Java TimePeriod object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_javac.h:150