P
- type of the peer's statuspublic interface PeerListener<P>
void onUpdate(Node node, P currentStatus)
The status of the local peer is not notified.
node
- the peer nodecurrentStatus
- peer's current statusvoid onBecomingUnknown(Node node, P lastKnownStatus)
PeerMonitor.getUnknownPeers()
.
The local peer never becomes unknown. It might be unknown by the time
the PeerMonitor
is instantiated, but once the initial state is
received, it should not be lost.
node
- the peer nodelastKnownStatus
- peer's last known statusCopyright © 2015. All Rights Reserved.