Package org.bitcoinj.core.listeners
Interface AddressEventListener
-
public interface AddressEventListener
Implementors can listen to addresses being received from remote peers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAddr(Peer peer, AddressMessage message)
Called when a peer receives an addr or addrv2 message, usually in response to a getaddr message.
-
-
-
Method Detail
-
onAddr
void onAddr(Peer peer, AddressMessage message)
Called when a peer receives an addr or addrv2 message, usually in response to a getaddr message.
- Parameters:
peer
- the peer that received the addr or addrv2 messagemessage
- the addr or addrv2 message that was received
-
-