Java Code Examples for org.bitcoinj.utils.ListenerRegistration#removeFromList()

The following examples show how to use org.bitcoinj.utils.ListenerRegistration#removeFromList() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Peer.java    From green_android with GNU General Public License v3.0 4 votes vote down vote up
public boolean removeChainDownloadStartedEventListener(ChainDownloadStartedEventListener listener) {
    return ListenerRegistration.removeFromList(listener, chainDownloadStartedEventListeners);
}
 
Example 2
Source File: Peer.java    From GreenBits with GNU General Public License v3.0 4 votes vote down vote up
public boolean removeChainDownloadStartedEventListener(ChainDownloadStartedEventListener listener) {
    return ListenerRegistration.removeFromList(listener, chainDownloadStartedEventListeners);
}
 
Example 3
Source File: Peer.java    From GreenBits with GNU General Public License v3.0 4 votes vote down vote up
public boolean removeBlocksDownloadedEventListener(BlocksDownloadedEventListener listener) {
    return ListenerRegistration.removeFromList(listener, blocksDownloadedEventListeners);
}
 
Example 4
Source File: Peer.java    From GreenBits with GNU General Public License v3.0 4 votes vote down vote up
public boolean removePreMessageReceivedEventListener(PreMessageReceivedEventListener listener) {
    return ListenerRegistration.removeFromList(listener, preMessageReceivedEventListeners);
}
 
Example 5
Source File: ElectrumMultiWallet.java    From java-stratum with Apache License 2.0 4 votes vote down vote up
@Override
public boolean removeEventListener(MultiWalletEventListener listener) {
    return ListenerRegistration.removeFromList(listener, eventListeners);
}
 
Example 6
Source File: Peer.java    From green_android with GNU General Public License v3.0 4 votes vote down vote up
public boolean removePreMessageReceivedEventListener(PreMessageReceivedEventListener listener) {
    return ListenerRegistration.removeFromList(listener, preMessageReceivedEventListeners);
}
 
Example 7
Source File: Peer.java    From GreenBits with GNU General Public License v3.0 4 votes vote down vote up
public boolean removeGetDataEventListener(GetDataEventListener listener) {
    return ListenerRegistration.removeFromList(listener, getDataEventListeners);
}
 
Example 8
Source File: Peer.java    From green_android with GNU General Public License v3.0 4 votes vote down vote up
public boolean removeGetDataEventListener(GetDataEventListener listener) {
    return ListenerRegistration.removeFromList(listener, getDataEventListeners);
}
 
Example 9
Source File: Peer.java    From green_android with GNU General Public License v3.0 4 votes vote down vote up
public boolean removeDisconnectedEventListener(PeerDisconnectedEventListener listener) {
    return ListenerRegistration.removeFromList(listener, disconnectedEventListeners);
}
 
Example 10
Source File: Peer.java    From green_android with GNU General Public License v3.0 4 votes vote down vote up
public boolean removeConnectedEventListener(PeerConnectedEventListener listener) {
    return ListenerRegistration.removeFromList(listener, connectedEventListeners);
}
 
Example 11
Source File: BasicKeyChain.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
@Override
public boolean removeEventListener(KeyChainEventListener listener) {
    return ListenerRegistration.removeFromList(listener, listeners);
}
 
Example 12
Source File: Peer.java    From green_android with GNU General Public License v3.0 4 votes vote down vote up
public boolean removeBlocksDownloadedEventListener(BlocksDownloadedEventListener listener) {
    return ListenerRegistration.removeFromList(listener, blocksDownloadedEventListeners);
}
 
Example 13
Source File: BasicKeyChain.java    From green_android with GNU General Public License v3.0 4 votes vote down vote up
@Override
public boolean removeEventListener(KeyChainEventListener listener) {
    return ListenerRegistration.removeFromList(listener, listeners);
}
 
Example 14
Source File: Peer.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
public boolean removePreMessageReceivedEventListener(PreMessageReceivedEventListener listener) {
    return ListenerRegistration.removeFromList(listener, preMessageReceivedEventListeners);
}
 
Example 15
Source File: Peer.java    From GreenBits with GNU General Public License v3.0 4 votes vote down vote up
public boolean removeConnectedEventListener(PeerConnectedEventListener listener) {
    return ListenerRegistration.removeFromList(listener, connectedEventListeners);
}
 
Example 16
Source File: Peer.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
public boolean removeGetDataEventListener(GetDataEventListener listener) {
    return ListenerRegistration.removeFromList(listener, getDataEventListeners);
}
 
Example 17
Source File: Peer.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
public boolean removeDisconnectedEventListener(PeerDisconnectedEventListener listener) {
    return ListenerRegistration.removeFromList(listener, disconnectedEventListeners);
}
 
Example 18
Source File: Peer.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
public boolean removeConnectedEventListener(PeerConnectedEventListener listener) {
    return ListenerRegistration.removeFromList(listener, connectedEventListeners);
}
 
Example 19
Source File: Peer.java    From GreenBits with GNU General Public License v3.0 4 votes vote down vote up
public boolean removeOnTransactionBroadcastListener(OnTransactionBroadcastListener listener) {
    return ListenerRegistration.removeFromList(listener, onTransactionEventListeners);
}
 
Example 20
Source File: Peer.java    From bcm-android with GNU General Public License v3.0 4 votes vote down vote up
public boolean removeBlocksDownloadedEventListener(BlocksDownloadedEventListener listener) {
    return ListenerRegistration.removeFromList(listener, blocksDownloadedEventListeners);
}