dxFeed Graal Native SDK 3.16.0
Loading...
Searching...
No Matches
dxfg_javac.h File Reference

dxFeed Graal Native SDK Java functions and types declarations More...

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

Go to the source code of this file.

Data Structures

struct  dxfg_java_object_handler
 The handle of a Java object: the reference by which the C code refers to an object that lives in Java. More...
struct  dxfg_java_object_t
 A handle of a Java object with the same layout as dxfg_java_object_handler. More...
struct  dxfg_list
 The common layout of the lists of the SDK: the number of elements and the array of pointers to them. More...
struct  dxfg_java_object_handler_list
 A list of handles of Java objects. More...
struct  dxfg_string_list
 A list of strings. More...
struct  dxfg_executor_t
 A handle of a Java Executor object; release it with dxfg_JavaObjectHandler_release(). More...
struct  dxfg_input_stream_t
 A handle of a Java InputStream object; release it with dxfg_JavaObjectHandler_release(). More...
struct  dxfg_time_period_t
 A handle of a Java TimePeriod object; release it with dxfg_JavaObjectHandler_release(). More...
struct  dxfg_time_format_t
 A handle of a Java TimeFormat object; release it with dxfg_JavaObjectHandler_release(). More...
struct  dxfg_time_zone_t
 A handle of a Java TimeZone object; release it with dxfg_JavaObjectHandler_release(). More...
struct  dxfg_auth_token_t
 A handle of a Java AuthToken object; release it with dxfg_JavaObjectHandler_release(). More...

Typedefs

typedef struct dxfg_java_object_handler dxfg_java_object_handler
 The handle of a Java object: the reference by which the C code refers to an object that lives in Java.
typedef struct dxfg_java_object_t dxfg_java_object_t
 A handle of a Java object with the same layout as dxfg_java_object_handler.
typedef struct dxfg_list dxfg_list
 The common layout of the lists of the SDK: the number of elements and the array of pointers to them.
typedef struct dxfg_java_object_handler_list dxfg_java_object_handler_list
 A list of handles of Java objects.
typedef struct dxfg_string_list dxfg_string_list
 A list of strings.
typedef struct dxfg_executor_t dxfg_executor_t
 A handle of a Java Executor object; release it with dxfg_JavaObjectHandler_release().
typedef struct dxfg_input_stream_t dxfg_input_stream_t
 A handle of a Java InputStream object; release it with dxfg_JavaObjectHandler_release().
typedef struct dxfg_time_period_t dxfg_time_period_t
 A handle of a Java TimePeriod object; release it with dxfg_JavaObjectHandler_release().
typedef struct dxfg_time_format_t dxfg_time_format_t
 A handle of a Java TimeFormat object; release it with dxfg_JavaObjectHandler_release().
typedef struct dxfg_time_zone_t dxfg_time_zone_t
 A handle of a Java TimeZone object; release it with dxfg_JavaObjectHandler_release().
typedef struct dxfg_auth_token_t dxfg_auth_token_t
 A handle of a Java AuthToken object; release it with dxfg_JavaObjectHandler_release().
typedef enum dxfg_rounding_mode_t dxfg_rounding_mode_t
 The rounding behavior of numerical operations that can discard precision (java.math.RoundingMode), e.g. of dxfg_PriceIncrements_roundPrice3().
typedef 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 collected.

Enumerations

enum  dxfg_rounding_mode_t {
  DXFG_ROUNDING_MODE_UP = 0 , DXFG_ROUNDING_MODE_DOWN , DXFG_ROUNDING_MODE_CEILING , DXFG_ROUNDING_MODE_FLOOR ,
  DXFG_ROUNDING_MODE_HALF_UP , DXFG_ROUNDING_MODE_HALF_DOWN , DXFG_ROUNDING_MODE_HALF_EVEN , DXFG_ROUNDING_MODE_UNNECESSARY
}
 The rounding behavior of numerical operations that can discard precision (java.math.RoundingMode), e.g. of dxfg_PriceIncrements_roundPrice3(). More...

Functions

int32_t dxfg_Object_finalize (graal_isolatethread_t *thread, dxfg_java_object_handler *handler, dxfg_finalize_function finalize, void *user_data)
int32_t dxfg_JavaObjectHandler_release (graal_isolatethread_t *thread, dxfg_java_object_handler *handler)
int32_t dxfg_NativeListener_deactivate (graal_isolatethread_t *thread, dxfg_java_object_handler *listener)
int32_t dxfg_JavaObjectHandler_clone (graal_isolatethread_t *thread, dxfg_java_object_handler *javaObjectHandler, dxfg_java_object_handler **javaObjectHandlerClone)
int32_t dxfg_JavaObjectHandler_array_release (graal_isolatethread_t *thread, const dxfg_java_object_handler **handlersArray, int32_t size)
int32_t dxfg_Object_new (graal_isolatethread_t *thread, DXFG_OUT dxfg_java_object_handler **object)
const char * dxfg_Object_toString (graal_isolatethread_t *thread, dxfg_java_object_handler *object)
int32_t dxfg_Object_equals (graal_isolatethread_t *thread, dxfg_java_object_handler *object, dxfg_java_object_handler *other)
int32_t dxfg_Object_hashCode (graal_isolatethread_t *thread, dxfg_java_object_handler *object)
int32_t dxfg_Comparable_compareTo (graal_isolatethread_t *thread, dxfg_java_object_handler *object, dxfg_java_object_handler *other)
int32_t dxfg_CList_JavaObjectHandler_release (graal_isolatethread_t *thread, dxfg_java_object_handler_list *list)
int32_t dxfg_String_release (graal_isolatethread_t *thread, const char *string)
int32_t dxfg_CList_String_release (graal_isolatethread_t *thread, dxfg_string_list *stringList)
dxfg_executor_t * dxfg_Executors_newFixedThreadPool (graal_isolatethread_t *thread, int nThreads, const char *nameThreads)
dxfg_executor_t * dxfg_Executors_newScheduledThreadPool (graal_isolatethread_t *thread, int nThreads, const char *nameThreads)
dxfg_executor_t * dxfg_ExecutorBaseOnConcurrentLinkedQueue_new (graal_isolatethread_t *thread)
int32_t dxfg_ExecutorBaseOnConcurrentLinkedQueue_processAllPendingTasks (graal_isolatethread_t *thread, dxfg_executor_t *executor)
dxfg_input_stream_t * dxfg_ByteArrayInputStream_new (graal_isolatethread_t *thread, const char *bytes, int32_t size)
int32_t dxfg_gc (graal_isolatethread_t *thread)
dxfg_java_object_handler * dxfg_throw_exception (graal_isolatethread_t *thread)
dxfg_time_zone_t * dxfg_TimeZone_getTimeZone (graal_isolatethread_t *thread, const char *ID)
dxfg_time_zone_t * dxfg_TimeZone_getDefault (graal_isolatethread_t *thread)
const char * dxfg_TimeZone_getID (graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone)
const char * dxfg_TimeZone_getDisplayName (graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone)
const char * dxfg_TimeZone_getDisplayName2 (graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, int32_t daylight, int32_t style)
int32_t dxfg_TimeZone_getDSTSavings (graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone)
int32_t dxfg_TimeZone_useDaylightTime (graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone)
int32_t dxfg_TimeZone_observesDaylightTime (graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone)
int32_t dxfg_TimeZone_getOffset (graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, int64_t date)
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_TimeZone_getRawOffset (graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone)
int32_t dxfg_TimeZone_hasSameRules (graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, dxfg_time_zone_t *other)
int32_t dxfg_TimeZone_inDaylightTime (graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, int64_t date)
int32_t dxfg_TimeZone_setID (graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, const char *ID)
int32_t dxfg_TimeZone_setRawOffset (graal_isolatethread_t *thread, dxfg_time_zone_t *timeZone, int32_t offsetMillis)
dxfg_time_period_t * dxfg_TimePeriod_ZERO (graal_isolatethread_t *thread)
dxfg_time_period_t * dxfg_TimePeriod_UNLIMITED (graal_isolatethread_t *thread)
dxfg_time_period_t * dxfg_TimePeriod_valueOf (graal_isolatethread_t *thread, int64_t value)
dxfg_time_period_t * dxfg_TimePeriod_valueOf2 (graal_isolatethread_t *thread, const char *value)
int64_t dxfg_TimePeriod_getTime (graal_isolatethread_t *thread, dxfg_time_period_t *timePeriod)
int32_t dxfg_TimePeriod_getSeconds (graal_isolatethread_t *thread, dxfg_time_period_t *timePeriod)
int64_t dxfg_TimePeriod_getNanos (graal_isolatethread_t *thread, dxfg_time_period_t *timePeriod)
dxfg_time_format_t * dxfg_TimeFormat_DEFAULT (graal_isolatethread_t *thread)
dxfg_time_format_t * dxfg_TimeFormat_GMT (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_format_t * dxfg_TimeFormat_withMillis (graal_isolatethread_t *thread, dxfg_time_format_t *timeFormat)
dxfg_time_format_t * dxfg_TimeFormat_asFullIso (graal_isolatethread_t *thread, dxfg_time_format_t *timeFormat)
int64_t dxfg_TimeFormat_parse (graal_isolatethread_t *thread, dxfg_time_format_t *timeFormat, const char *value)
const char * dxfg_TimeFormat_format (graal_isolatethread_t *thread, dxfg_time_format_t *timeFormat, int64_t value)
dxfg_time_zone_t * dxfg_TimeFormat_getTimeZone (graal_isolatethread_t *thread, dxfg_time_format_t *timeFormat)
dxfg_auth_token_t * dxfg_AuthToken_valueOf (graal_isolatethread_t *thread, const char *string)
dxfg_auth_token_t * dxfg_AuthToken_createBasicToken (graal_isolatethread_t *thread, const char *userPassword)
dxfg_auth_token_t * dxfg_AuthToken_createBasicToken2 (graal_isolatethread_t *thread, const char *user, const char *password)
dxfg_auth_token_t * dxfg_AuthToken_createBasicTokenOrNull (graal_isolatethread_t *thread, const char *user, const char *password)
dxfg_auth_token_t * dxfg_AuthToken_createBearerToken (graal_isolatethread_t *thread, const char *token)
dxfg_auth_token_t * dxfg_AuthToken_createBearerTokenOrNull (graal_isolatethread_t *thread, const char *token)
dxfg_auth_token_t * dxfg_AuthToken_createCustomToken (graal_isolatethread_t *thread, const char *scheme, const char *value)
const char * dxfg_AuthToken_getHttpAuthorization (graal_isolatethread_t *thread, dxfg_auth_token_t *authToken)
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_AuthToken_getScheme (graal_isolatethread_t *thread, dxfg_auth_token_t *authToken)
const char * dxfg_AuthToken_getValue (graal_isolatethread_t *thread, dxfg_auth_token_t *authToken)

Detailed Description

dxFeed Graal Native SDK Java functions and types declarations