|
Query Cycle Simulator HEADER | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--qcsim.net.util.PeerMsgTrust
Message that contains the trust that Peer sourceAddress has of Peer destAddress.
| Field Summary |
| Fields inherited from interface qcsim.net.util.PeerMessage |
MSG_QUERY, MSG_QUERYRESPONSE, MSG_REQUESTDOWNLOAD, MSG_REQUESTTRUST, MSG_TRUST |
| Constructor Summary | |
PeerMsgTrust(double weightedTrustValue)
Constructor |
|
PeerMsgTrust(PeerMsgTrust msg)
Copy constructor |
|
| Method Summary | |
int |
type()
|
double |
weightedTrustValue()
The weighted trust value |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PeerMsgTrust(double weightedTrustValue)
weightedTrustValue - trust value from peerpublic PeerMsgTrust(PeerMsgTrust msg)
msg - the message.| Method Detail |
public int type()
type in interface PeerMessagepublic double weightedTrustValue()
|
Query Cycle Simulator HEADER | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||