java.lang.Object
tech.deplant.java4ever.binding.ffi.ton_client
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ValueLayout.OfBoolean
static final ValueLayout.OfByte
static final ValueLayout.OfDouble
static final ValueLayout.OfFloat
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfDouble
static final ValueLayout.OfLong
static final AddressLayout
static final ValueLayout.OfShort
static final ValueLayout.OfShort
typedef int16_t int_fast16_t
static final ValueLayout.OfInt
typedef int32_t int_fast32_t
static final ValueLayout.OfLong
typedef int64_t int_fast64_t
static final ValueLayout.OfByte
typedef int8_t int_fast8_t
static final ValueLayout.OfShort
typedef int16_t int_least16_t
static final ValueLayout.OfInt
typedef int32_t int_least32_t
static final ValueLayout.OfLong
typedef int64_t int_least64_t
static final ValueLayout.OfByte
typedef int8_t int_least8_t
static final ValueLayout.OfShort
typedef short int16_t
static final ValueLayout.OfInt
typedef int int32_t
static final ValueLayout.OfLong
typedef long long int64_t
static final ValueLayout.OfByte
typedef signed char int8_t
static final ValueLayout.OfLong
typedef long long intmax_t
static final ValueLayout.OfLong
typedef long long intptr_t
static final ValueLayout.OfShort
typedef uint16_t uint_fast16_t
static final ValueLayout.OfInt
typedef uint32_t uint_fast32_t
static final ValueLayout.OfLong
typedef uint64_t uint_fast64_t
static final ValueLayout.OfByte
typedef uint8_t uint_fast8_t
static final ValueLayout.OfShort
typedef uint16_t uint_least16_t
static final ValueLayout.OfInt
typedef uint32_t uint_least32_t
static final ValueLayout.OfLong
typedef uint64_t uint_least64_t
static final ValueLayout.OfByte
typedef uint8_t uint_least8_t
static final ValueLayout.OfShort
typedef unsigned short uint16_t
static final ValueLayout.OfInt
typedef unsigned int uint32_t
static final ValueLayout.OfLong
typedef unsigned long long uint64_t
static final ValueLayout.OfByte
typedef unsigned char uint8_t
static final ValueLayout.OfLong
typedef unsigned long long uintmax_t
static final ValueLayout.OfLong
typedef unsigned long long uintptr_t
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
#define __bool_true_false_are_defined 1
static int
#define __INT_LEAST16_MAX 32767
static int
#define __INT_LEAST16_MIN -32768
static int
#define __INT_LEAST32_MAX 2147483647
static int
#define __INT_LEAST32_MIN -2147483648
static long
#define __INT_LEAST64_MAX 9223372036854775807
static long
#define __INT_LEAST64_MIN -9223372036854775808
static int
#define __INT_LEAST8_MAX 127
static int
#define __INT_LEAST8_MIN -128
static int
#define __UINT_LEAST16_MAX 65535
static int
#define __UINT_LEAST32_MAX 4294967295
static long
#define __UINT_LEAST64_MAX -1
static int
#define __UINT_LEAST8_MAX 255
static int
false_()
#define false 0
static int
#define INT_FAST16_MAX 32767
static int
#define INT_FAST16_MIN -32768
static int
#define INT_FAST32_MAX 2147483647
static int
#define INT_FAST32_MIN -2147483648
static long
#define INT_FAST64_MAX 9223372036854775807
static long
#define INT_FAST64_MIN -9223372036854775808
static int
#define INT_FAST8_MAX 127
static int
#define INT_FAST8_MIN -128
static int
#define INT_LEAST16_MAX 32767
static int
#define INT_LEAST16_MIN -32768
static int
#define INT_LEAST32_MAX 2147483647
static int
#define INT_LEAST32_MIN -2147483648
static long
#define INT_LEAST64_MAX 9223372036854775807
static long
#define INT_LEAST64_MIN -9223372036854775808
static int
#define INT_LEAST8_MAX 127
static int
#define INT_LEAST8_MIN -128
static int
#define INT16_MAX 32767
static int
#define INT16_MIN -32768
static int
#define INT32_MAX 2147483647
static int
#define INT32_MIN -2147483648
static long
#define INT64_MAX 9223372036854775807
static long
#define INT64_MIN -9223372036854775808
static int
INT8_MAX()
#define INT8_MAX 127
static int
INT8_MIN()
#define INT8_MIN -128
static long
#define INTMAX_MAX 9223372036854775807
static long
#define INTMAX_MIN -9223372036854775808
static long
#define INTPTR_MAX 9223372036854775807
static long
#define INTPTR_MIN -9223372036854775808
static long
#define PTRDIFF_MAX 9223372036854775807
static long
#define PTRDIFF_MIN -9223372036854775808
static int
#define SIG_ATOMIC_MAX 2147483647
static int
#define SIG_ATOMIC_MIN -2147483648
static long
SIZE_MAX()
#define SIZE_MAX -1
static MemorySegment
tc_create_context
(MemorySegment config) tc_string_handle_t *tc_create_context(tc_string_data_t config)
static MemorySegment
Address for:tc_string_handle_t *tc_create_context(tc_string_data_t config)
static FunctionDescriptor
Function descriptor for:tc_string_handle_t *tc_create_context(tc_string_data_t config)
static MethodHandle
Downcall method handle for:tc_string_handle_t *tc_create_context(tc_string_data_t config)
static void
tc_destroy_context
(int context) void tc_destroy_context(uint32_t context)
static MemorySegment
Address for:void tc_destroy_context(uint32_t context)
static FunctionDescriptor
Function descriptor for:void tc_destroy_context(uint32_t context)
static MethodHandle
Downcall method handle for:void tc_destroy_context(uint32_t context)
static void
tc_destroy_string
(MemorySegment handle) void tc_destroy_string(const tc_string_handle_t *handle)
static MemorySegment
Address for:void tc_destroy_string(const tc_string_handle_t *handle)
static FunctionDescriptor
Function descriptor for:void tc_destroy_string(const tc_string_handle_t *handle)
static MethodHandle
Downcall method handle for:void tc_destroy_string(const tc_string_handle_t *handle)
static MemorySegment
tc_read_string
(SegmentAllocator allocator, MemorySegment handle) tc_string_data_t tc_read_string(const tc_string_handle_t *handle)
static MemorySegment
Address for:tc_string_data_t tc_read_string(const tc_string_handle_t *handle)
static FunctionDescriptor
Function descriptor for:tc_string_data_t tc_read_string(const tc_string_handle_t *handle)
static MethodHandle
Downcall method handle for:tc_string_data_t tc_read_string(const tc_string_handle_t *handle)
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)
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)
static MemorySegment
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)
static FunctionDescriptor
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)
static MethodHandle
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)
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)
static MemorySegment
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)
static FunctionDescriptor
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)
static MethodHandle
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)
static MemorySegment
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)
static FunctionDescriptor
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)
static MethodHandle
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)
static int
enum tc_response_types.tc_response_app_notify = 4
static int
enum tc_response_types.tc_response_app_request = 3
static int
enum tc_response_types.tc_response_custom = 100
static int
enum tc_response_types.tc_response_error = 1
static int
enum tc_response_types.tc_response_nop = 2
static int
enum tc_response_types.tc_response_success = 0
static int
true_()
#define true 1
static int
#define UINT_FAST16_MAX 65535
static int
#define UINT_FAST32_MAX 4294967295
static long
#define UINT_FAST64_MAX -1
static int
#define UINT_FAST8_MAX 255
static int
#define UINT_LEAST16_MAX 65535
static int
#define UINT_LEAST32_MAX 4294967295
static long
#define UINT_LEAST64_MAX -1
static int
#define UINT_LEAST8_MAX 255
static int
#define UINT16_MAX 65535
static int
#define UINT32_MAX 4294967295
static long
#define UINT64_MAX -1
static int
#define UINT8_MAX 255
static long
#define UINTMAX_MAX -1
static long
#define UINTPTR_MAX -1
static int
#define WCHAR_MAX 65535
static int
#define WCHAR_MIN 0
static int
WINT_MAX()
#define WINT_MAX 65535
static int
WINT_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
-