| Package | Description |
|---|---|
| net.tomp2p.connection | |
| net.tomp2p.futures | |
| net.tomp2p.peers |
| Modifier and Type | Method and Description |
|---|---|
PeerBean |
PeerBean.notifyPeerFound(PeerAddress sender,
PeerAddress reporter,
PeerConnection peerConnection,
RTT roundTripTime) |
| Modifier and Type | Method and Description |
|---|---|
RTT |
FutureResponse.getRoundTripTime() |
| Modifier and Type | Method and Description |
|---|---|
RTT |
PeerStatistic.getLatestRTT() |
RTT |
RTT.setEstimated()
Marks this RTT object as an estimate
|
| Modifier and Type | Method and Description |
|---|---|
PeerStatistic |
PeerStatistic.addRTT(RTT rtt)
Adds a RTT to the cache.
|
boolean |
PeerStatusListener.peerFound(PeerAddress remotePeer,
PeerAddress referrer,
PeerConnection peerConnection,
RTT roundTripTime)
Called if the peer is online and who reported it.
|
boolean |
PeerMap.peerFound(PeerAddress remotePeer,
PeerAddress referrer,
PeerConnection peerConnection,
RTT roundTripTime)
Adds a neighbor to the neighbor list.
|
boolean |
LocalMap.peerFound(PeerAddress remotePeer,
PeerAddress referrer,
PeerConnection peerConnection,
RTT roundTripTime) |
static PeerStatistic |
PeerMap.updateExistingVerifiedPeerAddress(Map<Number160,PeerStatistic> tmp,
PeerAddress peerAddress,
boolean firstHand,
RTT roundTripTime)
Checks if a peer already exists in this map and if it does, it will update the entry because the peer address
(e.g.
|
Copyright © 2015. All rights reserved.