dxFeed Graal Native SDK 3.15.0-rc1
Loading...
Searching...
No Matches
dxfg_v4_candlewebservice.h
Go to the documentation of this file.
1// Copyright (c) 2026 Devexperts LLC.
2// SPDX-License-Identifier: MPL-2.0
3
8
9#ifndef DXFG_V4_CANDLEWEBSERVICE_H
10#define DXFG_V4_CANDLEWEBSERVICE_H
11
13#include "dxfg_v4_common.h"
14#include "dxfg_v4_javac.h"
15#include "dxfg_v4_events.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
27
30
33
36
39
58
85 dxfg_v4_event_clazz_t eventClazz, dxfg_v4_symbol_t *symbol,
86 int64_t fromTime, int64_t toTime,
88
104 dxfg_v4_history_endpoint_builder_t *builder, const char *address);
105
121 dxfg_v4_history_endpoint_builder_t *builder, const char *userName);
122
138 dxfg_v4_history_endpoint_builder_t *builder, const char *password);
139
156 const char *authToken);
157
172
187
206 // end of V4_CandleWebService
208
209#ifdef __cplusplus
210}
211#endif
212
213#endif // DXFG_V4_CANDLEWEBSERVICE_H
dxFeed Graal Native SDK CandleWebService, HistoryEndpoint functions and types declarations
The v4 functions of dxfg_common.h and the v4 names of its types (see the group Common (v4)).
The v4 functions of dxfg_events.h and the v4 names of its types (see the group Events (v4)).
The v4 functions of dxfg_javac.h and the v4 names of its types (see the group Javac (v4)).
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
dxfg_history_endpoint_compression_t
The compression of the data that the history service sends.
Definition dxfg_candlewebservice.h:73
dxfg_history_endpoint_format_t
The format of the data that the history service sends.
Definition dxfg_candlewebservice.h:87
#define DXFG_OUT
Definition dxfg_common.h:37
dxfg_history_endpoint_format_t dxfg_v4_history_endpoint_format_t
The format of the data that the history service sends.
Definition dxfg_v4_candlewebservice.h:38
dxfg_history_endpoint_t dxfg_v4_history_endpoint_t
A handle of a history endpoint, the client of the history service; release it with dxfg_JavaObjectHan...
Definition dxfg_v4_candlewebservice.h:29
int32_t dxfg_v4_HistoryEndpoint_Builder_withUserName(graal_isolatethread_t *thread, dxfg_v4_history_endpoint_builder_t *builder, const char *userName)
Sets the user name that the requests to the history service use.
dxfg_history_endpoint_builder_t dxfg_v4_history_endpoint_builder_t
A handle of a builder of history endpoints (Java HistoryEndpoint.Builder); release it with dxfg_JavaO...
Definition dxfg_v4_candlewebservice.h:32
int32_t dxfg_v4_HistoryEndpoint_Builder_withAddress(graal_isolatethread_t *thread, dxfg_v4_history_endpoint_builder_t *builder, const char *address)
Sets the address of the history service.
int32_t dxfg_v4_HistoryEndpoint_newBuilder(graal_isolatethread_t *thread, DXFG_OUT dxfg_v4_history_endpoint_builder_t **builder)
Creates a builder of history endpoints with the default settings.
int32_t dxfg_v4_HistoryEndpoint_Builder_withFormat(graal_isolatethread_t *thread, dxfg_v4_history_endpoint_builder_t *builder, dxfg_v4_history_endpoint_format_t format)
Sets the format of the data that the history service sends.
int32_t dxfg_v4_HistoryEndpoint_Builder_withAuthToken(graal_isolatethread_t *thread, dxfg_v4_history_endpoint_builder_t *builder, const char *authToken)
Sets the authentication token that the requests to the history service use.
int32_t dxfg_v4_HistoryEndpoint_getTimeSeries(graal_isolatethread_t *thread, dxfg_v4_history_endpoint_t *endpoint, dxfg_v4_event_clazz_t eventClazz, dxfg_v4_symbol_t *symbol, int64_t fromTime, int64_t toTime, DXFG_OUT dxfg_v4_event_type_list **events)
Requests the time series events of a symbol within a time range from the history service.
int32_t dxfg_v4_HistoryEndpoint_Builder_build(graal_isolatethread_t *thread, dxfg_v4_history_endpoint_builder_t *builder, DXFG_OUT dxfg_v4_history_endpoint_t **endpoint)
Creates a history endpoint with the settings of the builder.
dxfg_history_endpoint_compression_t dxfg_v4_history_endpoint_compression_t
The compression of the data that the history service sends.
Definition dxfg_v4_candlewebservice.h:35
int32_t dxfg_v4_HistoryEndpoint_Builder_withPassword(graal_isolatethread_t *thread, dxfg_v4_history_endpoint_builder_t *builder, const char *password)
Sets the password that the requests to the history service use.
int32_t dxfg_v4_HistoryEndpoint_Builder_withCompression(graal_isolatethread_t *thread, dxfg_v4_history_endpoint_builder_t *builder, dxfg_v4_history_endpoint_compression_t compression)
Sets the compression of the data that the history service sends.
dxfg_event_clazz_t dxfg_v4_event_clazz_t
The class of an event: tells which structure an event (dxfg_event_type_t) is.
Definition dxfg_v4_events.h:61
dxfg_symbol_t dxfg_v4_symbol_t
The base structure of every symbol: the first field of all the symbol structures.
Definition dxfg_v4_events.h:40
dxfg_event_type_list dxfg_v4_event_type_list
A list of events.
Definition dxfg_v4_events.h:154
A handle of a builder of history endpoints (Java HistoryEndpoint.Builder); release it with dxfg_JavaO...
Definition dxfg_candlewebservice.h:62
A handle of a history endpoint, the client of the history service; release it with dxfg_JavaObjectHan...
Definition dxfg_candlewebservice.h:49