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.FutureCallbackDeprecated.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 longptrDeprecated. 
- 
Constructor Summary
Constructors Constructor Description NativeFutureCallback()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidonFailure(java.lang.Throwable throwable)Deprecated.voidonSuccess(java.lang.Object o)Deprecated. 
 - 
 
- 
- 
Method Detail
- 
onSuccess
public void onSuccess(java.lang.Object o)
Deprecated.- Specified by:
 onSuccessin interfacecom.google.common.util.concurrent.FutureCallback
 
- 
onFailure
public void onFailure(java.lang.Throwable throwable)
Deprecated.- Specified by:
 onFailurein interfacecom.google.common.util.concurrent.FutureCallback
 
 - 
 
 -