Package org.bitcoinj.jni
Class NativeScriptsChangeEventListener
- java.lang.Object
- 
- org.bitcoinj.jni.NativeScriptsChangeEventListener
 
- 
- All Implemented Interfaces:
- ScriptsChangeEventListener
 
 public class NativeScriptsChangeEventListener extends java.lang.Object implements ScriptsChangeEventListener 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.
- 
- 
Field SummaryFields Modifier and Type Field Description longptr
 - 
Constructor SummaryConstructors Constructor Description NativeScriptsChangeEventListener()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonScriptsChanged(Wallet wallet, java.util.List<Script> scripts, boolean isAddingScripts)Called whenever a new watched script is added to the wallet.
 
- 
- 
- 
Method Detail- 
onScriptsChangedpublic void onScriptsChanged(Wallet wallet, java.util.List<Script> scripts, boolean isAddingScripts) Description copied from interface:ScriptsChangeEventListenerCalled whenever a new watched script is added to the wallet.- Specified by:
- onScriptsChangedin interface- ScriptsChangeEventListener
- isAddingScripts- will be true if added scripts, false if removed scripts.
 
 
- 
 
-