Package org.bitcoinj.jni
Class NativeFutureCallback
java.lang.Object
org.bitcoinj.jni.NativeFutureCallback
- All Implemented Interfaces:
com.google.common.util.concurrent.FutureCallback
public class NativeFutureCallback
extends Object
implements com.google.common.util.concurrent.FutureCallback
An event listener that relays events to a native C++ object. A pointer to that object is stored in
this class using JNI on the native side, thus several instances of this can point to different actual
native implementations.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
ptr
public long ptr
-
-
Constructor Details
-
NativeFutureCallback
public NativeFutureCallback()
-
-
Method Details
-
onSuccess
- Specified by:
onSuccess
in interfacecom.google.common.util.concurrent.FutureCallback
-
onFailure
- Specified by:
onFailure
in interfacecom.google.common.util.concurrent.FutureCallback
-