|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.p2p.glacier.v2.messaging.GlacierMessage
rice.p2p.glacier.v2.messaging.GlacierRefreshPatchMessage
DESCRIBE THE CLASS
Field Summary | |
protected VersionKey[] |
keys
DESCRIBE THE FIELD |
protected long[] |
lifetimes
DESCRIBE THE FIELD |
protected byte[][] |
signatures
DESCRIBE THE FIELD |
Fields inherited from class rice.p2p.glacier.v2.messaging.GlacierMessage |
dest, id, isResponse, source, tag |
Fields inherited from interface rice.p2p.commonapi.Message |
HIGH_PRIORITY, LOW_PRIORITY, MEDIUM_HIGH_PRIORITY, MEDIUM_LOW_PRIORITY, MEDIUM_PRIORITY |
Constructor Summary | |
GlacierRefreshPatchMessage(int uid,
VersionKey[] keys,
long[] lifetimes,
byte[][] signatures,
NodeHandle source,
Id dest,
char tag)
Constructor for GlacierRefreshPatchMessage. |
Method Summary | |
VersionKey[] |
getAllKeys()
Gets the AllKeys attribute of the GlacierRefreshPatchMessage object |
VersionKey |
getKey(int index)
Gets the Key attribute of the GlacierRefreshPatchMessage object |
long |
getLifetime(int index)
Gets the Lifetime attribute of the GlacierRefreshPatchMessage object |
byte[] |
getSignature(int index)
Gets the Signature attribute of the GlacierRefreshPatchMessage object |
int |
numKeys()
DESCRIBE THE METHOD |
java.lang.String |
toString()
DESCRIBE THE METHOD |
Methods inherited from class rice.p2p.glacier.v2.messaging.GlacierMessage |
getDestination, getPriority, getSource, getTag, getUID, isResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected VersionKey[] keys
protected long[] lifetimes
protected byte[][] signatures
Constructor Detail |
public GlacierRefreshPatchMessage(int uid, VersionKey[] keys, long[] lifetimes, byte[][] signatures, NodeHandle source, Id dest, char tag)
uid
- DESCRIBE THE PARAMETERkeys
- DESCRIBE THE PARAMETERlifetimes
- DESCRIBE THE PARAMETERsignatures
- DESCRIBE THE PARAMETERsource
- DESCRIBE THE PARAMETERdest
- DESCRIBE THE PARAMETERtag
- DESCRIBE THE PARAMETERMethod Detail |
public VersionKey getKey(int index)
index
- DESCRIBE THE PARAMETER
public VersionKey[] getAllKeys()
public long getLifetime(int index)
index
- DESCRIBE THE PARAMETER
public byte[] getSignature(int index)
index
- DESCRIBE THE PARAMETER
public int numKeys()
public java.lang.String toString()
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |