Package org.bitcoinj.jni
Class NativeTransactionConfidenceListener
java.lang.Object
org.bitcoinj.jni.NativeTransactionConfidenceListener
- All Implemented Interfaces:
TransactionConfidence.Listener
public class NativeTransactionConfidenceListener
extends 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onConfidenceChanged
(TransactionConfidence confidence, TransactionConfidence.Listener.ChangeReason reason)
-
Field Details
-
ptr
public long ptr
-
-
Constructor Details
-
NativeTransactionConfidenceListener
public NativeTransactionConfidenceListener()
-
-
Method Details
-
onConfidenceChanged
public void onConfidenceChanged(TransactionConfidence confidence, TransactionConfidence.Listener.ChangeReason reason) - Specified by:
onConfidenceChanged
in interfaceTransactionConfidence.Listener
-