Class ton_client

java.lang.Object
tech.deplant.java4ever.binding.ffi.ton_client

public class ton_client extends Object
ton_client relies on preview features of the Java platform:
Programs can only use ton_client when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
  • Field Details

  • Constructor Details

    • ton_client

      public ton_client()
  • 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$MH

      public static MethodHandle tc_create_context$MH()
    • tc_create_context

      public static MemorySegmentPREVIEW tc_create_context(MemorySegmentPREVIEW config)
      tc_string_handle_t* tc_create_context(tc_string_data_t config);
      
    • tc_destroy_context$MH

      public static MethodHandle tc_destroy_context$MH()
    • tc_destroy_context

      public static void tc_destroy_context(int context)
      void tc_destroy_context(uint32_t context);
      
    • tc_request$MH

      public static MethodHandle tc_request$MH()
    • tc_request

      public static void tc_request(int context, MemorySegmentPREVIEW function_name, MemorySegmentPREVIEW function_params_json, int request_id, MemorySegmentPREVIEW 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$MH

      public static MethodHandle tc_request_ptr$MH()
    • tc_request_ptr

      public static void tc_request_ptr(int context, MemorySegmentPREVIEW function_name, MemorySegmentPREVIEW function_params_json, MemorySegmentPREVIEW request_ptr, MemorySegmentPREVIEW 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$MH

      public static MethodHandle tc_request_sync$MH()
    • tc_request_sync

      public static MemorySegmentPREVIEW tc_request_sync(int context, MemorySegmentPREVIEW function_name, MemorySegmentPREVIEW 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$MH

      public static MethodHandle tc_read_string$MH()
    • tc_read_string

      public static MemorySegmentPREVIEW tc_read_string(SegmentAllocatorPREVIEW allocator, MemorySegmentPREVIEW handle)
      tc_string_data_t tc_read_string(const tc_string_handle_t* handle);
      
    • tc_destroy_string$MH

      public static MethodHandle tc_destroy_string$MH()
    • tc_destroy_string

      public static void tc_destroy_string(MemorySegmentPREVIEW handle)
      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