9#ifndef DXFG_CANDLEWEBSERVICE_H
10#define DXFG_CANDLEWEBSERVICE_H
114DXFG_DEPRECATED(
"use dxfg_v4_HistoryEndpoint_newBuilder()")
145DXFG_DEPRECATED(
"use dxfg_v4_HistoryEndpoint_getTimeSeries()")
166DXFG_DEPRECATED(
"use dxfg_v4_HistoryEndpoint_Builder_withAddress()")
186DXFG_DEPRECATED(
"use dxfg_v4_HistoryEndpoint_Builder_withUserName()")
206DXFG_DEPRECATED(
"use dxfg_v4_HistoryEndpoint_Builder_withPassword()")
226DXFG_DEPRECATED(
"use dxfg_v4_HistoryEndpoint_Builder_withAuthToken()")
243DXFG_DEPRECATED(
"use dxfg_v4_HistoryEndpoint_Builder_withCompression()")
261DXFG_DEPRECATED(
"use dxfg_v4_HistoryEndpoint_Builder_withFormat()")
282DXFG_DEPRECATED(
"use dxfg_v4_HistoryEndpoint_Builder_build()")
dxFeed Graal Native SDK Common declarations
dxFeed Graal Native SDK Events functions and types declarations
dxfg_event_clazz_t
The class of an event: tells which structure an event (dxfg_event_type_t) is.
Definition dxfg_events.h:185
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
int32_t dxfg_HistoryEndpoint_Builder_withAddress(graal_isolatethread_t *thread, dxfg_history_endpoint_builder_t *builder, const char *address)
Sets the address of the history service.
int32_t dxfg_HistoryEndpoint_Builder_withFormat(graal_isolatethread_t *thread, dxfg_history_endpoint_builder_t *builder, dxfg_history_endpoint_format_t format)
Sets the format of the data that the history service sends.
int32_t dxfg_HistoryEndpoint_Builder_withCompression(graal_isolatethread_t *thread, dxfg_history_endpoint_builder_t *builder, dxfg_history_endpoint_compression_t compression)
Sets the compression of the data that the history service sends.
dxfg_history_endpoint_compression_t
The compression of the data that the history service sends.
Definition dxfg_candlewebservice.h:73
int32_t dxfg_HistoryEndpoint_Builder_build(graal_isolatethread_t *thread, dxfg_history_endpoint_builder_t *builder, DXFG_OUT dxfg_history_endpoint_t **endpoint)
Creates a history endpoint with the settings of the builder.
int32_t dxfg_HistoryEndpoint_Builder_withPassword(graal_isolatethread_t *thread, dxfg_history_endpoint_builder_t *builder, const char *password)
Sets the password that the requests to the history service use.
int32_t dxfg_HistoryEndpoint_Builder_withAuthToken(graal_isolatethread_t *thread, dxfg_history_endpoint_builder_t *builder, const char *authToken)
Sets the authentication token that the requests to the history service use.
int32_t dxfg_HistoryEndpoint_getTimeSeries(graal_isolatethread_t *thread, dxfg_history_endpoint_t *endpoint, dxfg_event_clazz_t eventClazz, dxfg_symbol_t *symbol, int64_t fromTime, int64_t toTime, DXFG_OUT dxfg_event_type_list **events)
Requests the time series events of a symbol within a time range from the history service.
dxfg_history_endpoint_format_t
The format of the data that the history service sends.
Definition dxfg_candlewebservice.h:87
int32_t dxfg_HistoryEndpoint_Builder_withUserName(graal_isolatethread_t *thread, dxfg_history_endpoint_builder_t *builder, const char *userName)
Sets the user name that the requests to the history service use.
int32_t dxfg_HistoryEndpoint_newBuilder(graal_isolatethread_t *thread, DXFG_OUT dxfg_history_endpoint_builder_t **builder)
Creates a builder of history endpoints with the default settings.
@ DXFG_HISTORY_ENDPOINT_COMPRESSION_ZIP
Definition dxfg_candlewebservice.h:77
@ DXFG_HISTORY_ENDPOINT_COMPRESSION_GZIP
Definition dxfg_candlewebservice.h:79
@ DXFG_HISTORY_ENDPOINT_COMPRESSION_NONE
Definition dxfg_candlewebservice.h:75
@ DXFG_HISTORY_ENDPOINT_FORMAT_CSV
Definition dxfg_candlewebservice.h:91
@ DXFG_HISTORY_ENDPOINT_FORMAT_TEXT
Definition dxfg_candlewebservice.h:89
@ DXFG_HISTORY_ENDPOINT_FORMAT_BINARY
Definition dxfg_candlewebservice.h:93
#define DXFG_OUT
Definition dxfg_common.h:37
A list of events.
Definition dxfg_events.h:1215
A handle of a builder of history endpoints (Java HistoryEndpoint.Builder); release it with dxfg_JavaO...
Definition dxfg_candlewebservice.h:62
dxfg_java_object_handler handler
Definition dxfg_candlewebservice.h:64
A handle of a history endpoint, the client of the history service; release it with dxfg_JavaObjectHan...
Definition dxfg_candlewebservice.h:49
dxfg_java_object_handler handler
Definition dxfg_candlewebservice.h:51
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
The base structure of every symbol: the first field of all the symbol structures.
Definition dxfg_events.h:89