| 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.addPreMessageReceivedEventListener(Executor executor,
PreMessageReceivedEventListener listener)
|
void |
Peer.addPreMessageReceivedEventListener(Executor executor,
PreMessageReceivedEventListener listener)
Registers a listener that is called immediately before a message is received
|
void |
PeerGroup.addPreMessageReceivedEventListener(PreMessageReceivedEventListener listener)
|
void |
Peer.addPreMessageReceivedEventListener(PreMessageReceivedEventListener listener)
Registers a listener that is called immediately before a message is received
|
boolean |
PeerGroup.removePreMessageReceivedEventListener(PreMessageReceivedEventListener listener) |
boolean |
Peer.removePreMessageReceivedEventListener(PreMessageReceivedEventListener 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.