|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectP2PWNC.P2PWNCRREQMsgInfo
This class represents a P2PWNC RREQ protocol message. It includes the service provider's public key and the (next) receipt weight.
Field Summary | |
protected P2PWNCKey |
providerKey
Service provider's public key. |
protected int |
weight
Weight of the next receipt. |
Constructor Summary | |
(package private) |
P2PWNCRREQMsgInfo(P2PWNCKey key,
int weight)
Constructs a P2PWNCRREQMsgInfo object with the specified provider key and weight field values. |
Method Summary | |
P2PWNCKey |
getProviderKey()
Returns the public key of the service provider of a P2PWNCRREQMsgInfo object. |
int |
getWeight()
Returns the value of the weight field of a P2PWNCRREQMsgInfo object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected P2PWNCKey providerKey
protected int weight
Constructor Detail |
P2PWNCRREQMsgInfo(P2PWNCKey key, int weight)
key
- P2PWNCKey
The public key of the service provider.weight
- int
The receipt weight.Method Detail |
public P2PWNCKey getProviderKey()
public int getWeight()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |