Package moe.kyokobot.libdave.impl
Class DaveNativeHandle
java.lang.Object
moe.kyokobot.libdave.impl.DaveNativeHandle
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
NativeDecryptor,NativeEncryptor,NativeKeyRatchet,NativeSession
-
Field Details
-
handle
protected final long handle -
closed
protected boolean closed
-
-
Constructor Details
-
DaveNativeHandle
protected DaveNativeHandle(long handle)
-
-
Method Details
-
assertOpen
protected void assertOpen() -
isClosed
public boolean isClosed() -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-