Package org.bitcoinj.jni
Class NativeFutureCallback
- java.lang.Object
-
- org.bitcoinj.jni.NativeFutureCallback
-
- All Implemented Interfaces:
com.google.common.util.concurrent.FutureCallback
@Deprecated public class NativeFutureCallback extends java.lang.Object implements com.google.common.util.concurrent.FutureCallback
Deprecated.See https://github.com/bitcoinj/bitcoinj/issues/2465An 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
Fields Modifier and Type Field Description long
ptr
Deprecated.
-
Constructor Summary
Constructors Constructor Description NativeFutureCallback()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
onFailure(java.lang.Throwable throwable)
Deprecated.void
onSuccess(java.lang.Object o)
Deprecated.
-
-
-
Method Detail
-
onSuccess
public void onSuccess(java.lang.Object o)
Deprecated.- Specified by:
onSuccess
in interfacecom.google.common.util.concurrent.FutureCallback
-
onFailure
public void onFailure(java.lang.Throwable throwable)
Deprecated.- Specified by:
onFailure
in interfacecom.google.common.util.concurrent.FutureCallback
-
-