dxFeed Graal Native SDK 3.10.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
76 dxfg_subscription_controller_t *subscriptionController, dxfg_feed_t *feed);
77
92 dxfg_subscription_controller_t *subscriptionController, dxfg_feed_t *feed);
93
109 dxfg_subscription_controller_t *subscriptionController,
110 DXFG_OUT int32_t *eventsBatchLimit);
111
127 dxfg_subscription_controller_t *subscriptionController,
128 int32_t eventsBatchLimit);
129
145 dxfg_subscription_controller_t *subscriptionController,
146 DXFG_OUT dxfg_time_period_t **aggregationPeriod);
147
165 dxfg_subscription_controller_t *subscriptionController,
166 DXFG_OUT int64_t *aggregationPeriod);
167
184 dxfg_subscription_controller_t *subscriptionController,
185 dxfg_time_period_t *aggregationPeriod);
186
202 dxfg_subscription_controller_t *subscriptionController,
203 int64_t aggregationPeriod);
204
219 dxfg_subscription_controller_t *subscriptionController,
220 DXFG_OUT dxfg_executor_t **executor);
221
238 dxfg_subscription_controller_t *subscriptionController,
239 dxfg_executor_t *executor);
240 // end of SubscriptionController
242
243#ifdef __cplusplus
244}
245#endif
246
247#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:59
#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