-
- All Implemented Interfaces:
-
java.io.Closeable,java.lang.AutoCloseable,live.ditto.internal.ffi.DittoHandle
public final class DittoHandleWrapper implements Closeable, DittoHandle
Container for the rust handle to the main Ditto instance that lives behind the FFI layer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDittoHandleWrapper.Companion
-
Field Summary
Fields Modifier and Type Field Description private SWIGTYPE_p_CDittohandle
-
Constructor Summary
Constructors Constructor Description DittoHandleWrapper(SWIGTYPE_p_CDitto rustDittoHandle)
-
Method Summary
Modifier and Type Method Description SWIGTYPE_p_CDittogetHandle()Handle for native Ditto instance. UnitsetHandle(SWIGTYPE_p_CDitto handle)Unitclose()Invokes ditto_free if we have a non-null handle. -
-
Constructor Detail
-
DittoHandleWrapper
DittoHandleWrapper(SWIGTYPE_p_CDitto rustDittoHandle)
-
-
Method Detail
-
getHandle
SWIGTYPE_p_CDitto getHandle()
Handle for native Ditto instance.
-
setHandle
Unit setHandle(SWIGTYPE_p_CDitto handle)
-
-
-
-