java.lang.Object
tech.deplant.java4ever.binding.ffi.ton_client
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ValueLayout.OfBooleanstatic final ValueLayout.OfBytestatic final ValueLayout.OfDoublestatic final ValueLayout.OfFloatstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfDoublestatic final ValueLayout.OfLongstatic final AddressLayoutstatic final ValueLayout.OfShortstatic final ValueLayout.OfShorttypedef int16_t int_fast16_tstatic final ValueLayout.OfInttypedef int32_t int_fast32_tstatic final ValueLayout.OfLongtypedef int64_t int_fast64_tstatic final ValueLayout.OfBytetypedef int8_t int_fast8_tstatic final ValueLayout.OfShorttypedef int16_t int_least16_tstatic final ValueLayout.OfInttypedef int32_t int_least32_tstatic final ValueLayout.OfLongtypedef int64_t int_least64_tstatic final ValueLayout.OfBytetypedef int8_t int_least8_tstatic final ValueLayout.OfShorttypedef short int16_tstatic final ValueLayout.OfInttypedef int int32_tstatic final ValueLayout.OfLongtypedef long long int64_tstatic final ValueLayout.OfBytetypedef signed char int8_tstatic final ValueLayout.OfLongtypedef long long intmax_tstatic final ValueLayout.OfLongtypedef long long intptr_tstatic final ValueLayout.OfShorttypedef uint16_t uint_fast16_tstatic final ValueLayout.OfInttypedef uint32_t uint_fast32_tstatic final ValueLayout.OfLongtypedef uint64_t uint_fast64_tstatic final ValueLayout.OfBytetypedef uint8_t uint_fast8_tstatic final ValueLayout.OfShorttypedef uint16_t uint_least16_tstatic final ValueLayout.OfInttypedef uint32_t uint_least32_tstatic final ValueLayout.OfLongtypedef uint64_t uint_least64_tstatic final ValueLayout.OfBytetypedef uint8_t uint_least8_tstatic final ValueLayout.OfShorttypedef unsigned short uint16_tstatic final ValueLayout.OfInttypedef unsigned int uint32_tstatic final ValueLayout.OfLongtypedef unsigned long long uint64_tstatic final ValueLayout.OfBytetypedef unsigned char uint8_tstatic final ValueLayout.OfLongtypedef unsigned long long uintmax_tstatic final ValueLayout.OfLongtypedef unsigned long long uintptr_t -
Method Summary
Modifier and TypeMethodDescriptionstatic int#define __bool_true_false_are_defined 1static int#define __INT_LEAST16_MAX 32767static int#define __INT_LEAST16_MIN -32768static int#define __INT_LEAST32_MAX 2147483647static int#define __INT_LEAST32_MIN -2147483648static long#define __INT_LEAST64_MAX 9223372036854775807static long#define __INT_LEAST64_MIN -9223372036854775808static int#define __INT_LEAST8_MAX 127static int#define __INT_LEAST8_MIN -128static int#define __UINT_LEAST16_MAX 65535static int#define __UINT_LEAST32_MAX 4294967295static long#define __UINT_LEAST64_MAX -1static int#define __UINT_LEAST8_MAX 255static intfalse_()#define false 0static int#define INT_FAST16_MAX 32767static int#define INT_FAST16_MIN -32768static int#define INT_FAST32_MAX 2147483647static int#define INT_FAST32_MIN -2147483648static long#define INT_FAST64_MAX 9223372036854775807static long#define INT_FAST64_MIN -9223372036854775808static int#define INT_FAST8_MAX 127static int#define INT_FAST8_MIN -128static int#define INT_LEAST16_MAX 32767static int#define INT_LEAST16_MIN -32768static int#define INT_LEAST32_MAX 2147483647static int#define INT_LEAST32_MIN -2147483648static long#define INT_LEAST64_MAX 9223372036854775807static long#define INT_LEAST64_MIN -9223372036854775808static int#define INT_LEAST8_MAX 127static int#define INT_LEAST8_MIN -128static int#define INT16_MAX 32767static int#define INT16_MIN -32768static int#define INT32_MAX 2147483647static int#define INT32_MIN -2147483648static long#define INT64_MAX 9223372036854775807static long#define INT64_MIN -9223372036854775808static intINT8_MAX()#define INT8_MAX 127static intINT8_MIN()#define INT8_MIN -128static long#define INTMAX_MAX 9223372036854775807static long#define INTMAX_MIN -9223372036854775808static long#define INTPTR_MAX 9223372036854775807static long#define INTPTR_MIN -9223372036854775808static long#define PTRDIFF_MAX 9223372036854775807static long#define PTRDIFF_MIN -9223372036854775808static int#define SIG_ATOMIC_MAX 2147483647static int#define SIG_ATOMIC_MIN -2147483648static longSIZE_MAX()#define SIZE_MAX -1static MemorySegmenttc_create_context(MemorySegment config) tc_string_handle_t *tc_create_context(tc_string_data_t config)static MemorySegmentAddress for:tc_string_handle_t *tc_create_context(tc_string_data_t config)static FunctionDescriptorFunction descriptor for:tc_string_handle_t *tc_create_context(tc_string_data_t config)static MethodHandleDowncall method handle for:tc_string_handle_t *tc_create_context(tc_string_data_t config)static voidtc_destroy_context(int context) void tc_destroy_context(uint32_t context)static MemorySegmentAddress for:void tc_destroy_context(uint32_t context)static FunctionDescriptorFunction descriptor for:void tc_destroy_context(uint32_t context)static MethodHandleDowncall method handle for:void tc_destroy_context(uint32_t context)static voidtc_destroy_string(MemorySegment handle) void tc_destroy_string(const tc_string_handle_t *handle)static MemorySegmentAddress for:void tc_destroy_string(const tc_string_handle_t *handle)static FunctionDescriptorFunction descriptor for:void tc_destroy_string(const tc_string_handle_t *handle)static MethodHandleDowncall method handle for:void tc_destroy_string(const tc_string_handle_t *handle)static MemorySegmenttc_read_string(SegmentAllocator allocator, MemorySegment handle) tc_string_data_t tc_read_string(const tc_string_handle_t *handle)static MemorySegmentAddress for:tc_string_data_t tc_read_string(const tc_string_handle_t *handle)static FunctionDescriptorFunction descriptor for:tc_string_data_t tc_read_string(const tc_string_handle_t *handle)static MethodHandleDowncall method handle for:tc_string_data_t tc_read_string(const tc_string_handle_t *handle)static voidtc_request(int context, MemorySegment function_name, MemorySegment function_params_json, int request_id, MemorySegment response_handler) void tc_request(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, uint32_t request_id, tc_response_handler_t response_handler)static voidtc_request_ptr(int context, MemorySegment function_name, MemorySegment function_params_json, MemorySegment request_ptr, MemorySegment response_handler) void tc_request_ptr(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, void *request_ptr, tc_response_handler_ptr_t response_handler)static MemorySegmentAddress for:void tc_request_ptr(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, void *request_ptr, tc_response_handler_ptr_t response_handler)static FunctionDescriptorFunction descriptor for:void tc_request_ptr(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, void *request_ptr, tc_response_handler_ptr_t response_handler)static MethodHandleDowncall method handle for:void tc_request_ptr(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, void *request_ptr, tc_response_handler_ptr_t response_handler)static MemorySegmenttc_request_sync(int context, MemorySegment function_name, MemorySegment function_params_json) tc_string_handle_t *tc_request_sync(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json)static MemorySegmentAddress for:tc_string_handle_t *tc_request_sync(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json)static FunctionDescriptorFunction descriptor for:tc_string_handle_t *tc_request_sync(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json)static MethodHandleDowncall method handle for:tc_string_handle_t *tc_request_sync(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json)static MemorySegmentAddress for:void tc_request(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, uint32_t request_id, tc_response_handler_t response_handler)static FunctionDescriptorFunction descriptor for:void tc_request(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, uint32_t request_id, tc_response_handler_t response_handler)static MethodHandleDowncall method handle for:void tc_request(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, uint32_t request_id, tc_response_handler_t response_handler)static intenum tc_response_types.tc_response_app_notify = 4static intenum tc_response_types.tc_response_app_request = 3static intenum tc_response_types.tc_response_custom = 100static intenum tc_response_types.tc_response_error = 1static intenum tc_response_types.tc_response_nop = 2static intenum tc_response_types.tc_response_success = 0static inttrue_()#define true 1static int#define UINT_FAST16_MAX 65535static int#define UINT_FAST32_MAX 4294967295static long#define UINT_FAST64_MAX -1static int#define UINT_FAST8_MAX 255static int#define UINT_LEAST16_MAX 65535static int#define UINT_LEAST32_MAX 4294967295static long#define UINT_LEAST64_MAX -1static int#define UINT_LEAST8_MAX 255static int#define UINT16_MAX 65535static int#define UINT32_MAX 4294967295static long#define UINT64_MAX -1static int#define UINT8_MAX 255static long#define UINTMAX_MAX -1static long#define UINTPTR_MAX -1static int#define WCHAR_MAX 65535static int#define WCHAR_MIN 0static intWINT_MAX()#define WINT_MAX 65535static intWINT_MIN()#define WINT_MIN 0
-
Field Details
-
C_BOOL
-
C_CHAR
-
C_SHORT
-
C_INT
-
C_LONG_LONG
-
C_FLOAT
-
C_DOUBLE
-
C_POINTER
-
C_LONG
-
C_LONG_DOUBLE
-
int64_t
typedef long long int64_t -
uint64_t
typedef unsigned long long uint64_t -
int_least64_t
typedef int64_t int_least64_t -
uint_least64_t
typedef uint64_t uint_least64_t -
int_fast64_t
typedef int64_t int_fast64_t -
uint_fast64_t
typedef uint64_t uint_fast64_t -
int32_t
typedef int int32_t -
uint32_t
typedef unsigned int uint32_t -
int_least32_t
typedef int32_t int_least32_t -
uint_least32_t
typedef uint32_t uint_least32_t -
int_fast32_t
typedef int32_t int_fast32_t -
uint_fast32_t
typedef uint32_t uint_fast32_t -
int16_t
typedef short int16_t -
uint16_t
typedef unsigned short uint16_t -
int_least16_t
typedef int16_t int_least16_t -
uint_least16_t
typedef uint16_t uint_least16_t -
int_fast16_t
typedef int16_t int_fast16_t -
uint_fast16_t
typedef uint16_t uint_fast16_t -
int8_t
typedef signed char int8_t -
uint8_t
typedef unsigned char uint8_t -
int_least8_t
typedef int8_t int_least8_t -
uint_least8_t
typedef uint8_t uint_least8_t -
int_fast8_t
typedef int8_t int_fast8_t -
uint_fast8_t
typedef uint8_t uint_fast8_t -
intptr_t
typedef long long intptr_t -
uintptr_t
typedef unsigned long long uintptr_t -
intmax_t
typedef long long intmax_t -
uintmax_t
typedef unsigned long long uintmax_t
-
-
Method Details
-
true_
public static int true_()#define true 1 -
false_
public static int false_()#define false 0 -
__bool_true_false_are_defined
public static int __bool_true_false_are_defined()#define __bool_true_false_are_defined 1 -
tc_response_success
public static int tc_response_success()enum tc_response_types.tc_response_success = 0 -
tc_response_error
public static int tc_response_error()enum tc_response_types.tc_response_error = 1 -
tc_response_nop
public static int tc_response_nop()enum tc_response_types.tc_response_nop = 2 -
tc_response_app_request
public static int tc_response_app_request()enum tc_response_types.tc_response_app_request = 3 -
tc_response_app_notify
public static int tc_response_app_notify()enum tc_response_types.tc_response_app_notify = 4 -
tc_response_custom
public static int tc_response_custom()enum tc_response_types.tc_response_custom = 100 -
tc_create_context$descriptor
Function descriptor for:tc_string_handle_t *tc_create_context(tc_string_data_t config) -
tc_create_context$handle
Downcall method handle for:tc_string_handle_t *tc_create_context(tc_string_data_t config) -
tc_create_context$address
Address for:tc_string_handle_t *tc_create_context(tc_string_data_t config) -
tc_create_context
tc_string_handle_t *tc_create_context(tc_string_data_t config) -
tc_destroy_context$descriptor
Function descriptor for:void tc_destroy_context(uint32_t context) -
tc_destroy_context$handle
Downcall method handle for:void tc_destroy_context(uint32_t context) -
tc_destroy_context$address
Address for:void tc_destroy_context(uint32_t context) -
tc_destroy_context
public static void tc_destroy_context(int context) void tc_destroy_context(uint32_t context) -
tc_request$descriptor
Function descriptor for:void tc_request(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, uint32_t request_id, tc_response_handler_t response_handler) -
tc_request$handle
Downcall method handle for:void tc_request(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, uint32_t request_id, tc_response_handler_t response_handler) -
tc_request$address
Address for:void tc_request(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, uint32_t request_id, tc_response_handler_t response_handler) -
tc_request
public static void tc_request(int context, MemorySegment function_name, MemorySegment function_params_json, int request_id, MemorySegment response_handler) void tc_request(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, uint32_t request_id, tc_response_handler_t response_handler) -
tc_request_ptr$descriptor
Function descriptor for:void tc_request_ptr(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, void *request_ptr, tc_response_handler_ptr_t response_handler) -
tc_request_ptr$handle
Downcall method handle for:void tc_request_ptr(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, void *request_ptr, tc_response_handler_ptr_t response_handler) -
tc_request_ptr$address
Address for:void tc_request_ptr(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, void *request_ptr, tc_response_handler_ptr_t response_handler) -
tc_request_ptr
public static void tc_request_ptr(int context, MemorySegment function_name, MemorySegment function_params_json, MemorySegment request_ptr, MemorySegment response_handler) void tc_request_ptr(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json, void *request_ptr, tc_response_handler_ptr_t response_handler) -
tc_request_sync$descriptor
Function descriptor for:tc_string_handle_t *tc_request_sync(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json) -
tc_request_sync$handle
Downcall method handle for:tc_string_handle_t *tc_request_sync(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json) -
tc_request_sync$address
Address for:tc_string_handle_t *tc_request_sync(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json) -
tc_request_sync
public static MemorySegment tc_request_sync(int context, MemorySegment function_name, MemorySegment function_params_json) tc_string_handle_t *tc_request_sync(uint32_t context, tc_string_data_t function_name, tc_string_data_t function_params_json) -
tc_read_string$descriptor
Function descriptor for:tc_string_data_t tc_read_string(const tc_string_handle_t *handle) -
tc_read_string$handle
Downcall method handle for:tc_string_data_t tc_read_string(const tc_string_handle_t *handle) -
tc_read_string$address
Address for:tc_string_data_t tc_read_string(const tc_string_handle_t *handle) -
tc_read_string
tc_string_data_t tc_read_string(const tc_string_handle_t *handle) -
tc_destroy_string$descriptor
Function descriptor for:void tc_destroy_string(const tc_string_handle_t *handle) -
tc_destroy_string$handle
Downcall method handle for:void tc_destroy_string(const tc_string_handle_t *handle) -
tc_destroy_string$address
Address for:void tc_destroy_string(const tc_string_handle_t *handle) -
tc_destroy_string
void tc_destroy_string(const tc_string_handle_t *handle) -
INT64_MAX
public static long INT64_MAX()#define INT64_MAX 9223372036854775807 -
INT64_MIN
public static long INT64_MIN()#define INT64_MIN -9223372036854775808 -
UINT64_MAX
public static long UINT64_MAX()#define UINT64_MAX -1 -
__INT_LEAST64_MIN
public static long __INT_LEAST64_MIN()#define __INT_LEAST64_MIN -9223372036854775808 -
__INT_LEAST64_MAX
public static long __INT_LEAST64_MAX()#define __INT_LEAST64_MAX 9223372036854775807 -
__UINT_LEAST64_MAX
public static long __UINT_LEAST64_MAX()#define __UINT_LEAST64_MAX -1 -
__INT_LEAST32_MIN
public static int __INT_LEAST32_MIN()#define __INT_LEAST32_MIN -2147483648 -
__INT_LEAST32_MAX
public static int __INT_LEAST32_MAX()#define __INT_LEAST32_MAX 2147483647 -
__UINT_LEAST32_MAX
public static int __UINT_LEAST32_MAX()#define __UINT_LEAST32_MAX 4294967295 -
__INT_LEAST16_MIN
public static int __INT_LEAST16_MIN()#define __INT_LEAST16_MIN -32768 -
__INT_LEAST16_MAX
public static int __INT_LEAST16_MAX()#define __INT_LEAST16_MAX 32767 -
__UINT_LEAST16_MAX
public static int __UINT_LEAST16_MAX()#define __UINT_LEAST16_MAX 65535 -
__INT_LEAST8_MIN
public static int __INT_LEAST8_MIN()#define __INT_LEAST8_MIN -128 -
__INT_LEAST8_MAX
public static int __INT_LEAST8_MAX()#define __INT_LEAST8_MAX 127 -
__UINT_LEAST8_MAX
public static int __UINT_LEAST8_MAX()#define __UINT_LEAST8_MAX 255 -
INT_LEAST64_MIN
public static long INT_LEAST64_MIN()#define INT_LEAST64_MIN -9223372036854775808 -
INT_LEAST64_MAX
public static long INT_LEAST64_MAX()#define INT_LEAST64_MAX 9223372036854775807 -
UINT_LEAST64_MAX
public static long UINT_LEAST64_MAX()#define UINT_LEAST64_MAX -1 -
INT_FAST64_MIN
public static long INT_FAST64_MIN()#define INT_FAST64_MIN -9223372036854775808 -
INT_FAST64_MAX
public static long INT_FAST64_MAX()#define INT_FAST64_MAX 9223372036854775807 -
UINT_FAST64_MAX
public static long UINT_FAST64_MAX()#define UINT_FAST64_MAX -1 -
INT32_MAX
public static int INT32_MAX()#define INT32_MAX 2147483647 -
INT32_MIN
public static int INT32_MIN()#define INT32_MIN -2147483648 -
UINT32_MAX
public static int UINT32_MAX()#define UINT32_MAX 4294967295 -
INT_LEAST32_MIN
public static int INT_LEAST32_MIN()#define INT_LEAST32_MIN -2147483648 -
INT_LEAST32_MAX
public static int INT_LEAST32_MAX()#define INT_LEAST32_MAX 2147483647 -
UINT_LEAST32_MAX
public static int UINT_LEAST32_MAX()#define UINT_LEAST32_MAX 4294967295 -
INT_FAST32_MIN
public static int INT_FAST32_MIN()#define INT_FAST32_MIN -2147483648 -
INT_FAST32_MAX
public static int INT_FAST32_MAX()#define INT_FAST32_MAX 2147483647 -
UINT_FAST32_MAX
public static int UINT_FAST32_MAX()#define UINT_FAST32_MAX 4294967295 -
INT16_MAX
public static int INT16_MAX()#define INT16_MAX 32767 -
INT16_MIN
public static int INT16_MIN()#define INT16_MIN -32768 -
UINT16_MAX
public static int UINT16_MAX()#define UINT16_MAX 65535 -
INT_LEAST16_MIN
public static int INT_LEAST16_MIN()#define INT_LEAST16_MIN -32768 -
INT_LEAST16_MAX
public static int INT_LEAST16_MAX()#define INT_LEAST16_MAX 32767 -
UINT_LEAST16_MAX
public static int UINT_LEAST16_MAX()#define UINT_LEAST16_MAX 65535 -
INT_FAST16_MIN
public static int INT_FAST16_MIN()#define INT_FAST16_MIN -32768 -
INT_FAST16_MAX
public static int INT_FAST16_MAX()#define INT_FAST16_MAX 32767 -
UINT_FAST16_MAX
public static int UINT_FAST16_MAX()#define UINT_FAST16_MAX 65535 -
INT8_MAX
public static int INT8_MAX()#define INT8_MAX 127 -
INT8_MIN
public static int INT8_MIN()#define INT8_MIN -128 -
UINT8_MAX
public static int UINT8_MAX()#define UINT8_MAX 255 -
INT_LEAST8_MIN
public static int INT_LEAST8_MIN()#define INT_LEAST8_MIN -128 -
INT_LEAST8_MAX
public static int INT_LEAST8_MAX()#define INT_LEAST8_MAX 127 -
UINT_LEAST8_MAX
public static int UINT_LEAST8_MAX()#define UINT_LEAST8_MAX 255 -
INT_FAST8_MIN
public static int INT_FAST8_MIN()#define INT_FAST8_MIN -128 -
INT_FAST8_MAX
public static int INT_FAST8_MAX()#define INT_FAST8_MAX 127 -
UINT_FAST8_MAX
public static int UINT_FAST8_MAX()#define UINT_FAST8_MAX 255 -
INTPTR_MIN
public static long INTPTR_MIN()#define INTPTR_MIN -9223372036854775808 -
INTPTR_MAX
public static long INTPTR_MAX()#define INTPTR_MAX 9223372036854775807 -
UINTPTR_MAX
public static long UINTPTR_MAX()#define UINTPTR_MAX -1 -
PTRDIFF_MIN
public static long PTRDIFF_MIN()#define PTRDIFF_MIN -9223372036854775808 -
PTRDIFF_MAX
public static long PTRDIFF_MAX()#define PTRDIFF_MAX 9223372036854775807 -
SIZE_MAX
public static long SIZE_MAX()#define SIZE_MAX -1 -
INTMAX_MIN
public static long INTMAX_MIN()#define INTMAX_MIN -9223372036854775808 -
INTMAX_MAX
public static long INTMAX_MAX()#define INTMAX_MAX 9223372036854775807 -
UINTMAX_MAX
public static long UINTMAX_MAX()#define UINTMAX_MAX -1 -
SIG_ATOMIC_MIN
public static int SIG_ATOMIC_MIN()#define SIG_ATOMIC_MIN -2147483648 -
SIG_ATOMIC_MAX
public static int SIG_ATOMIC_MAX()#define SIG_ATOMIC_MAX 2147483647 -
WINT_MIN
public static int WINT_MIN()#define WINT_MIN 0 -
WINT_MAX
public static int WINT_MAX()#define WINT_MAX 65535 -
WCHAR_MAX
public static int WCHAR_MAX()#define WCHAR_MAX 65535 -
WCHAR_MIN
public static int WCHAR_MIN()#define WCHAR_MIN 0
-