- All Known Implementing Classes:
SdkResponseHandler
public interface tc_response_handler_t
tc_response_handler_t
relies on preview features of the Java platform:
tc_response_handler_t
refers to one or more preview APIs:MemoryAddress
,MemorySegment
,MemorySession
.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentPREVIEW
allocate
(tc_response_handler_t fi, MemorySessionPREVIEW session) void
apply
(int request_id, MemorySegmentPREVIEW params_json, int response_type, boolean finished) static tc_response_handler_t
ofAddress
(MemoryAddressPREVIEW addr, MemorySessionPREVIEW session)
-
Method Details
-
apply
-
allocate
-
ofAddress
-
tc_response_handler_t
when preview features are enabled.