public interface PeerMapChangeListener
Modifier and Type | Method and Description |
---|---|
void |
peerInserted(PeerAddress peerAddress)
This method is called if a peer is added to the map
|
void |
peerRemoved(PeerAddress peerAddress)
This method is called if a peer is removed from the map
|
void |
peerUpdated(PeerAddress peerAddress)
This method is called if a peer is updated.
|
void peerInserted(PeerAddress peerAddress)
peerAddress
- The peer that has been added.void peerRemoved(PeerAddress peerAddress)
peerAddress
- The peer that has been removed and add to the cache.void peerUpdated(PeerAddress peerAddress)
peerAddress
- The peer can change its IP and some statistical dataCopyright © 2013. All Rights Reserved.