com.google.bitcoin.jni
Class NativeTransactionConfidenceListener

java.lang.Object
  extended by com.google.bitcoin.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 com.google.bitcoin.core.TransactionConfidence.Listener
TransactionConfidence.Listener.ChangeReason
 
Field Summary
 long ptr
           
 
Constructor Summary
NativeTransactionConfidenceListener()
           
 
Method Summary
 void onConfidenceChanged(Transaction tx, TransactionConfidence.Listener.ChangeReason reason)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ptr

public long ptr
Constructor Detail

NativeTransactionConfidenceListener

public NativeTransactionConfidenceListener()
Method Detail

onConfidenceChanged

public void onConfidenceChanged(Transaction tx,
                                TransactionConfidence.Listener.ChangeReason reason)
Specified by:
onConfidenceChanged in interface TransactionConfidence.Listener


Copyright © 2014. All rights reserved.