Package org.bitcoinj.jni
Class NativeTransactionConfidenceListener
- java.lang.Object
-
- org.bitcoinj.jni.NativeTransactionConfidenceListener
-
- All Implemented Interfaces:
TransactionConfidence.Listener
public class NativeTransactionConfidenceListener extends java.lang.Object implements TransactionConfidence.Listener
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.bitcoinj.core.TransactionConfidence.Listener
TransactionConfidence.Listener.ChangeReason
-
-
Field Summary
Fields Modifier and Type Field Description long
ptr
-
Constructor Summary
Constructors Constructor Description NativeTransactionConfidenceListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onConfidenceChanged(TransactionConfidence confidence, TransactionConfidence.Listener.ChangeReason reason)
-
-
-
Method Detail
-
onConfidenceChanged
public void onConfidenceChanged(TransactionConfidence confidence, TransactionConfidence.Listener.ChangeReason reason)
- Specified by:
onConfidenceChanged
in interfaceTransactionConfidence.Listener
-
-