dxFeed Graal Native SDK 3.10.0
Loading...
Searching...
No Matches
dxfg_javac.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_JAVAC_H
10#define DXFG_JAVAC_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 "graal_isolate.h"
22
44
64
74
81typedef struct dxfg_list {
83 int32_t size;
85 void **elements;
87
101
109typedef struct dxfg_string_list {
111 int32_t size;
114 const char **elements;
116
130
143
154
165
177
188
395
406typedef void (*dxfg_finalize_function)(graal_isolatethread_t *thread, void *user_data);
407
426 dxfg_finalize_function finalize, void *user_data);
427
447
465
500 dxfg_java_object_handler **javaObjectHandlerClone);
501
520 const dxfg_java_object_handler **handlersArray, int32_t size);
521
534
547
563
575
592
603
613int32_t dxfg_String_release(graal_isolatethread_t *thread, const char *string);
614
625
644 const char *nameThreads);
645
662 const char *nameThreads);
663
674
687 dxfg_executor_t *executor);
688
702
713
722
734
745
757
769
784const char *dxfg_TimeZone_getDisplayName2(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, int32_t daylight,
785 int32_t style);
786
799
811
824
837int32_t dxfg_TimeZone_getOffset(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, int64_t date);
838
856int32_t dxfg_TimeZone_getOffset2(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, int32_t era, int32_t year,
857 int32_t month, int32_t day, int32_t dayOfWeek, int32_t milliseconds);
858
870
883
896
908int32_t dxfg_TimeZone_setID(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, const char *ID);
909
922int32_t dxfg_TimeZone_setRawOffset(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, int32_t offsetMillis);
923
934
945
957
972
984
997
1011
1022
1033
1046
1058
1070
1082
1101int64_t dxfg_TimeFormat_parse(graal_isolatethread_t *thread, dxfg_time_format_t *timeFormat, const char *value);
1102
1117const char *dxfg_TimeFormat_format(graal_isolatethread_t *thread, dxfg_time_format_t *timeFormat, int64_t value);
1118
1130
1144
1157
1170 const char *password);
1171
1185 const char *password);
1186
1198
1211
1224 const char *value);
1225
1237
1249
1261
1273
1286 // end of Javac
1288
1289#ifdef __cplusplus
1290}
1291#endif
1292
1293#endif // DXFG_JAVAC_H
dxFeed Graal Native SDK Common 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
dxfg_auth_token_t * dxfg_AuthToken_createBearerToken(graal_isolatethread_t *thread, const char *token)
dxfg_auth_token_t * dxfg_AuthToken_createCustomToken(graal_isolatethread_t *thread, const char *scheme, const char *value)
int32_t dxfg_TimeZone_inDaylightTime(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, int64_t date)
int32_t dxfg_TimeZone_useDaylightTime(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone)
int32_t dxfg_TimeZone_getRawOffset(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone)
int32_t dxfg_Object_equals(graal_isolatethread_t *thread, dxfg_java_object_handler *object, dxfg_java_object_handler *other)
dxfg_executor_t * dxfg_ExecutorBaseOnConcurrentLinkedQueue_new(graal_isolatethread_t *thread)
dxfg_time_format_t * dxfg_TimeFormat_withMillis(graal_isolatethread_t *thread, dxfg_time_format_t *timeFormat)
const char * dxfg_AuthToken_getUser(graal_isolatethread_t *thread, dxfg_auth_token_t *authToken)
const char * dxfg_AuthToken_getPassword(graal_isolatethread_t *thread, dxfg_auth_token_t *authToken)
const char * dxfg_TimeZone_getDisplayName(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone)
dxfg_auth_token_t * dxfg_AuthToken_createBasicToken(graal_isolatethread_t *thread, const char *userPassword)
dxfg_time_format_t * dxfg_TimeFormat_GMT(graal_isolatethread_t *thread)
dxfg_java_object_handler * dxfg_throw_exception(graal_isolatethread_t *thread)
int32_t dxfg_CList_JavaObjectHandler_release(graal_isolatethread_t *thread, dxfg_java_object_handler_list *list)
dxfg_executor_t * dxfg_Executors_newScheduledThreadPool(graal_isolatethread_t *thread, int nThreads, const char *nameThreads)
dxfg_time_period_t * dxfg_TimePeriod_valueOf2(graal_isolatethread_t *thread, const char *value)
dxfg_time_zone_t * dxfg_TimeZone_getDefault(graal_isolatethread_t *thread)
dxfg_time_format_t * dxfg_TimeFormat_getInstance(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone)
dxfg_time_format_t * dxfg_TimeFormat_withTimeZone(graal_isolatethread_t *thread, dxfg_time_format_t *timeFormat)
dxfg_time_period_t * dxfg_TimePeriod_valueOf(graal_isolatethread_t *thread, int64_t value)
int32_t dxfg_Object_new(graal_isolatethread_t *thread, DXFG_OUT dxfg_java_object_handler **object)
int32_t dxfg_ExecutorBaseOnConcurrentLinkedQueue_processAllPendingTasks(graal_isolatethread_t *thread, dxfg_executor_t *executor)
dxfg_time_period_t * dxfg_TimePeriod_UNLIMITED(graal_isolatethread_t *thread)
const char * dxfg_TimeZone_getDisplayName2(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, int32_t daylight, int32_t style)
dxfg_rounding_mode_t
The rounding behavior of numerical operations that can discard precision (java.math....
Definition dxfg_javac.h:201
int32_t dxfg_String_release(graal_isolatethread_t *thread, const char *string)
dxfg_executor_t * dxfg_Executors_newFixedThreadPool(graal_isolatethread_t *thread, int nThreads, const char *nameThreads)
int32_t dxfg_gc(graal_isolatethread_t *thread)
int64_t dxfg_TimePeriod_getNanos(graal_isolatethread_t *thread, dxfg_time_period_t *timePeriod)
int32_t dxfg_TimeZone_setID(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, const char *ID)
dxfg_input_stream_t * dxfg_ByteArrayInputStream_new(graal_isolatethread_t *thread, const char *bytes, int32_t size)
int32_t dxfg_JavaObjectHandler_release(graal_isolatethread_t *thread, dxfg_java_object_handler *handler)
int32_t dxfg_Object_hashCode(graal_isolatethread_t *thread, dxfg_java_object_handler *object)
dxfg_time_zone_t * dxfg_TimeZone_getTimeZone(graal_isolatethread_t *thread, const char *ID)
int32_t dxfg_JavaObjectHandler_array_release(graal_isolatethread_t *thread, const dxfg_java_object_handler **handlersArray, int32_t size)
dxfg_time_format_t * dxfg_TimeFormat_DEFAULT(graal_isolatethread_t *thread)
const char * dxfg_AuthToken_getValue(graal_isolatethread_t *thread, dxfg_auth_token_t *authToken)
int32_t dxfg_Comparable_compareTo(graal_isolatethread_t *thread, dxfg_java_object_handler *object, dxfg_java_object_handler *other)
void(*) dxfg_finalize_function(graal_isolatethread_t *thread, void *user_data)
The function registered by dxfg_Object_finalize(): called after the Java object has been garbage coll...
Definition dxfg_javac.h:406
int64_t dxfg_TimeFormat_parse(graal_isolatethread_t *thread, dxfg_time_format_t *timeFormat, const char *value)
dxfg_time_period_t * dxfg_TimePeriod_ZERO(graal_isolatethread_t *thread)
const char * dxfg_TimeFormat_format(graal_isolatethread_t *thread, dxfg_time_format_t *timeFormat, int64_t value)
int32_t dxfg_TimeZone_getOffset(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, int64_t date)
int32_t dxfg_TimePeriod_getSeconds(graal_isolatethread_t *thread, dxfg_time_period_t *timePeriod)
int32_t dxfg_TimeZone_hasSameRules(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, dxfg_time_zone_t *other)
int32_t dxfg_TimeZone_observesDaylightTime(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone)
int32_t dxfg_JavaObjectHandler_clone(graal_isolatethread_t *thread, dxfg_java_object_handler *javaObjectHandler, dxfg_java_object_handler **javaObjectHandlerClone)
const char * dxfg_Object_toString(graal_isolatethread_t *thread, dxfg_java_object_handler *object)
int32_t dxfg_TimeZone_getDSTSavings(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone)
int32_t dxfg_TimeZone_getOffset2(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, int32_t era, int32_t year, int32_t month, int32_t day, int32_t dayOfWeek, int32_t milliseconds)
int32_t dxfg_CList_String_release(graal_isolatethread_t *thread, dxfg_string_list *stringList)
dxfg_auth_token_t * dxfg_AuthToken_createBasicTokenOrNull(graal_isolatethread_t *thread, const char *user, const char *password)
dxfg_auth_token_t * dxfg_AuthToken_valueOf(graal_isolatethread_t *thread, const char *string)
dxfg_time_format_t * dxfg_TimeFormat_asFullIso(graal_isolatethread_t *thread, dxfg_time_format_t *timeFormat)
int32_t dxfg_TimeZone_setRawOffset(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, int32_t offsetMillis)
int32_t dxfg_Object_finalize(graal_isolatethread_t *thread, dxfg_java_object_handler *handler, dxfg_finalize_function finalize, void *user_data)
dxfg_auth_token_t * dxfg_AuthToken_createBearerTokenOrNull(graal_isolatethread_t *thread, const char *token)
const char * dxfg_AuthToken_getScheme(graal_isolatethread_t *thread, dxfg_auth_token_t *authToken)
const char * dxfg_AuthToken_getHttpAuthorization(graal_isolatethread_t *thread, dxfg_auth_token_t *authToken)
int32_t dxfg_NativeListener_deactivate(graal_isolatethread_t *thread, dxfg_java_object_handler *listener)
int64_t dxfg_TimePeriod_getTime(graal_isolatethread_t *thread, dxfg_time_period_t *timePeriod)
dxfg_auth_token_t * dxfg_AuthToken_createBasicToken2(graal_isolatethread_t *thread, const char *user, const char *password)
const char * dxfg_TimeZone_getID(graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone)
dxfg_time_zone_t * dxfg_TimeFormat_getTimeZone(graal_isolatethread_t *thread, dxfg_time_format_t *timeFormat)
@ DXFG_ROUNDING_MODE_FLOOR
Definition dxfg_javac.h:294
@ DXFG_ROUNDING_MODE_UP
Definition dxfg_javac.h:223
@ DXFG_ROUNDING_MODE_HALF_DOWN
Definition dxfg_javac.h:342
@ DXFG_ROUNDING_MODE_HALF_EVEN
Definition dxfg_javac.h:369
@ DXFG_ROUNDING_MODE_HALF_UP
Definition dxfg_javac.h:318
@ DXFG_ROUNDING_MODE_UNNECESSARY
Definition dxfg_javac.h:393
@ DXFG_ROUNDING_MODE_DOWN
Definition dxfg_javac.h:246
@ DXFG_ROUNDING_MODE_CEILING
Definition dxfg_javac.h:270
A handle of a Java AuthToken object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_javac.h:184
dxfg_java_object_handler handler
Definition dxfg_javac.h:186
A handle of a Java Executor object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_javac.h:126
dxfg_java_object_handler handler
Definition dxfg_javac.h:128
A handle of a Java InputStream object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_javac.h:139
dxfg_java_object_handler handler
Definition dxfg_javac.h:141
A list of handles of Java objects.
Definition dxfg_javac.h:95
int32_t size
Definition dxfg_javac.h:97
dxfg_java_object_handler ** elements
Definition dxfg_javac.h:99
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
void * java_object_handle
Definition dxfg_javac.h:62
A handle of a Java object with the same layout as dxfg_java_object_handler.
Definition dxfg_javac.h:70
void * java_object_handle
Definition dxfg_javac.h:72
The common layout of the lists of the SDK: the number of elements and the array of pointers to them.
Definition dxfg_javac.h:81
void ** elements
Definition dxfg_javac.h:85
int32_t size
Definition dxfg_javac.h:83
A list of strings.
Definition dxfg_javac.h:109
int32_t size
Definition dxfg_javac.h:111
const char ** elements
Definition dxfg_javac.h:114
A handle of a Java TimeFormat object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_javac.h:161
dxfg_java_object_handler handler
Definition dxfg_javac.h:163
A handle of a Java TimePeriod object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_javac.h:150
dxfg_java_object_handler handler
Definition dxfg_javac.h:152
A handle of a Java TimeZone object; release it with dxfg_JavaObjectHandler_release().
Definition dxfg_javac.h:173
dxfg_java_object_handler handler
Definition dxfg_javac.h:175