| Package | Description |
|---|---|
| org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction, peer connectivity via PeerGroup,
and block chain management. |
| org.bitcoinj.core.listeners | |
| org.bitcoinj.jni |
| Modifier and Type | Method and Description |
|---|---|
void |
PeerGroup.addBlocksDownloadedEventListener(BlocksDownloadedEventListener listener)
|
void |
Peer.addBlocksDownloadedEventListener(BlocksDownloadedEventListener listener)
Registers a listener that is invoked when new blocks are downloaded.
|
void |
PeerGroup.addBlocksDownloadedEventListener(Executor executor,
BlocksDownloadedEventListener listener)
Adds a listener that will be notified on the given executor when
blocks are downloaded by the download peer.
|
void |
Peer.addBlocksDownloadedEventListener(Executor executor,
BlocksDownloadedEventListener listener)
Registers a listener that is invoked when new blocks are downloaded.
|
boolean |
PeerGroup.removeBlocksDownloadedEventListener(BlocksDownloadedEventListener listener) |
boolean |
Peer.removeBlocksDownloadedEventListener(BlocksDownloadedEventListener listener) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
PeerDataEventListener
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPeerDataEventListener
Deprecated.
|
class |
AbstractPeerEventListener
Deprecated.
|
class |
DownloadProgressTracker
An implementation of
AbstractPeerDataEventListener that listens to chain download events and tracks progress
as a percentage. |
| Modifier and Type | Class and Description |
|---|---|
class |
NativePeerEventListener
An event listener that relays events to a native C++ object.
|
Copyright © 2018. All rights reserved.