Class FfmHandle
java.lang.Object
moe.kyokobot.libdave.ffm.FfmHandle
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
FfmDecryptor, FfmEncryptor, FfmKeyRatchet, FfmSession
-
Field Details
-
handle
-
closed
protected volatile boolean closed
-
-
Constructor Details
-
FfmHandle
-
-
Method Details
-
assertOpen
protected void assertOpen() -
isClosed
public boolean isClosed() -
stealHandle
Transfers ownership of the native handle to the caller and marks this object as closed. -
close
public abstract void close()- Specified by:
closein interfaceAutoCloseable
-