dxFeed Graal Native SDK 3.10.0
Loading...
Searching...
No Matches
dxfg_candlewebservice.h File Reference

dxFeed Graal Native SDK CandleWebService, HistoryEndpoint functions and types declarations More...

#include <stdint.h>
#include "dxfg_common.h"
#include "dxfg_javac.h"
#include "graal_isolate.h"
#include "dxfg_events.h"

Go to the source code of this file.

Data Structures

struct  dxfg_history_endpoint_t
 A handle of a history endpoint, the client of the history service; release it with dxfg_JavaObjectHandler_release(). More...
struct  dxfg_history_endpoint_builder_t
 A handle of a builder of history endpoints (Java HistoryEndpoint.Builder); release it with dxfg_JavaObjectHandler_release(). More...

Typedefs

typedef struct dxfg_history_endpoint_t dxfg_history_endpoint_t
 A handle of a history endpoint, the client of the history service; release it with dxfg_JavaObjectHandler_release().
typedef struct dxfg_history_endpoint_builder_t dxfg_history_endpoint_builder_t
 A handle of a builder of history endpoints (Java HistoryEndpoint.Builder); release it with dxfg_JavaObjectHandler_release().
typedef enum dxfg_history_endpoint_compression_t dxfg_history_endpoint_compression_t
 The compression of the data that the history service sends.
typedef enum dxfg_history_endpoint_format_t dxfg_history_endpoint_format_t
 The format of the data that the history service sends.

Enumerations

enum  dxfg_history_endpoint_compression_t { DXFG_HISTORY_ENDPOINT_COMPRESSION_NONE = 0 , DXFG_HISTORY_ENDPOINT_COMPRESSION_ZIP , DXFG_HISTORY_ENDPOINT_COMPRESSION_GZIP }
 The compression of the data that the history service sends. More...
enum  dxfg_history_endpoint_format_t { DXFG_HISTORY_ENDPOINT_FORMAT_TEXT = 0 , DXFG_HISTORY_ENDPOINT_FORMAT_CSV , DXFG_HISTORY_ENDPOINT_FORMAT_BINARY }
 The format of the data that the history service sends. More...

Functions

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.
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.
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_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_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_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.
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_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.

Detailed Description

dxFeed Graal Native SDK CandleWebService, HistoryEndpoint functions and types declarations