|
Query Cycle Simulator HEADER | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Peer | |
| qcsim.peer | |
| qcsim.peer.impl | |
| Uses of Peer in qcsim.peer |
| Methods in qcsim.peer that return Peer | |
Peer |
PeerManager.peer(int peerID)
Get peer |
Peer |
PeerManager.newPeer(NetworkSimulator network,
int behavior)
Create a new peer |
Peer |
Peer.neighbor(int i)
The ith neighbor of this peer |
| Methods in qcsim.peer with parameters of type Peer | |
double |
PeerBehavior.uploadStatus(Peer dest)
Will determine the file upload status. |
double |
PeerBehavior.opinion(Peer peer,
boolean authenticFile)
Will determine the value a peer should use to update it's local trust |
boolean |
Peer.addNeighbor(Peer peer)
Add neighbor peer. |
void |
Peer.removeNeighbor(Peer peer)
Remove neighbor peer. |
| Uses of Peer in qcsim.peer.impl |
| Classes in qcsim.peer.impl that implement Peer | |
class |
PeerImpl
This object contains all information associated with a peer in the network. |
| Methods in qcsim.peer.impl that return Peer | |
Peer |
PeerManagerImpl.peer(int peerID)
Get peer |
Peer |
PeerManagerImpl.newPeer(NetworkSimulator network,
int behavior)
Create a new peer |
Peer |
PeerImpl.neighbor(int i)
The ith neighbor of this peer |
| Methods in qcsim.peer.impl with parameters of type Peer | |
boolean |
PeerImpl.addNeighbor(Peer peer)
Add neighbor peer. |
void |
PeerImpl.removeNeighbor(Peer peer)
Remove neighbor peer. |
double |
PeerBehaviorImpl.uploadStatus(Peer dest)
Will determine the file upload status. |
double |
PeerBehaviorImpl.opinion(Peer peer,
boolean authenticFile)
Will determine the value a peer should use to update it's local trust |
| Constructors in qcsim.peer.impl with parameters of type Peer | |
PeerBehaviorImpl(Peer peer,
int type)
Constructor |
|
|
Query Cycle Simulator HEADER | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||