|
dxFeed Graal Native SDK 3.9.0
|
Data Structures | |
| struct | dxfg_history_endpoint_t |
| struct | dxfg_history_endpoint_builder_t |
Typedefs | |
| typedef struct dxfg_history_endpoint_t | dxfg_history_endpoint_t |
| typedef struct dxfg_history_endpoint_builder_t | dxfg_history_endpoint_builder_t |
| typedef enum dxfg_history_endpoint_compression_t | dxfg_history_endpoint_compression_t |
| typedef enum dxfg_history_endpoint_format_t | dxfg_history_endpoint_format_t |
| typedef struct dxfg_history_endpoint_builder_t dxfg_history_endpoint_builder_t |
| typedef struct dxfg_history_endpoint_t dxfg_history_endpoint_t |
| int32_t dxfg_HistoryEndpoint_Builder_build | ( | graal_isolatethread_t * | thread, |
| dxfg_history_endpoint_builder_t * | builder, | ||
| DXFG_OUT dxfg_history_endpoint_t ** | endpoint ) |
Builds and returns a configured instance of HistoryEndpoint(dxfg_history_endpoint_t).
This method uses the values set in the builder instance, such as address, username, password, compression, format, and authentication token, to create a new HistoryEndpoint(dxfg_history_endpoint_t) object.
| [in] | thread | The current GraalVM Isolate's thread. |
| [in] | builder | The history endpoint's builder. |
| [out] | endpoint | A new instance of HistoryEndpoint(dxfg_history_endpoint_t) configured with the provided settings. |
| int32_t dxfg_HistoryEndpoint_Builder_withAddress | ( | graal_isolatethread_t * | thread, |
| dxfg_history_endpoint_builder_t * | builder, | ||
| const char * | address ) |
Specifies the address for the target endpoint.
| [in] | thread | The current GraalVM Isolate's thread. |
| [in] | builder | The history endpoint's builder. |
| [in] | address | The address of the endpoint to be set. |
| int32_t dxfg_HistoryEndpoint_Builder_withAuthToken | ( | graal_isolatethread_t * | thread, |
| dxfg_history_endpoint_builder_t * | builder, | ||
| const char * | authToken ) |
Sets the authentication token for the target endpoint.
| [in] | thread | The current GraalVM Isolate's thread. |
| [in] | builder | The history endpoint's builder. |
| [in] | authToken | The authentication token to be used for access. |
| 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 type to be used for data transmission or storage.
| [in] | thread | The current GraalVM Isolate's thread. |
| [in] | builder | The history endpoint's builder. |
| [in] | compression | The compression type to be applied, represented by the dxfg_history_endpoint_compression_t enum |
| 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 to be used for data handling.
| [in] | thread | The current GraalVM Isolate's thread. |
| [in] | builder | The history endpoint's builder. |
| [in] | format | The format type to be applied, represented by the dxfg_history_endpoint_format_t enum. |
| int32_t dxfg_HistoryEndpoint_Builder_withPassword | ( | graal_isolatethread_t * | thread, |
| dxfg_history_endpoint_builder_t * | builder, | ||
| const char * | password ) |
Sets the password for the target endpoint.
| [in] | thread | The current GraalVM Isolate's thread. |
| [in] | builder | The history endpoint's builder. |
| [in] | password | The password to be set for the endpoint. |
| int32_t dxfg_HistoryEndpoint_Builder_withUserName | ( | graal_isolatethread_t * | thread, |
| dxfg_history_endpoint_builder_t * | builder, | ||
| const char * | userName ) |
Sets the username for the target endpoint.
| [in] | thread | The current GraalVM Isolate's thread. |
| [in] | builder | The history endpoint's builder. |
| [in] | userName | The username to be set for the endpoint. |
| 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 ) |
Retrieves a list of time series events for a specific type of event and symbol within the given time range.
| [in] | thread | The current GraalVM Isolate's thread. |
| [in] | endpoint | The history endpoint. |
| [in] | eventClazz | The class representing the type of event to retrieve. |
| [in] | symbol | The identifier of the symbol for which the time series data is requested. |
| [in] | fromTime | The start timestamp for the time series query, in milliseconds since epoch. |
| [in] | toTime | The end timestamp for the time series query, in milliseconds since epoch. |
| [out] | events | A list of events of the specified type and symbol within the given time range |
| int32_t dxfg_HistoryEndpoint_newBuilder | ( | graal_isolatethread_t * | thread, |
| DXFG_OUT dxfg_history_endpoint_builder_t ** | builder ) |
Creates a new instance of HistoryEndpoint.Builder(dxfg_history_endpoint_builder_t) with default configurations.
The default settings include:
| [in] | thread | The current GraalVM Isolate's thread. |
| [out] | builder | The new builder instance. |