|
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.GlacierNeighborResponseMessage
DESCRIBE THE CLASS
| Field Summary | |
protected long[] |
lastSeen
DESCRIBE THE FIELD |
protected Id[] |
neighbors
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 | |
GlacierNeighborResponseMessage(int uid,
Id[] neighbors,
long[] lastSeen,
NodeHandle source,
Id dest,
char tag)
Constructor for GlacierNeighborResponseMessage. |
|
| Method Summary | |
long |
getLastSeen(int index)
Gets the LastSeen attribute of the GlacierNeighborResponseMessage object |
Id |
getNeighbor(int index)
Gets the Neighbor attribute of the GlacierNeighborResponseMessage object |
int |
numNeighbors()
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 Id[] neighbors
protected long[] lastSeen
| Constructor Detail |
public GlacierNeighborResponseMessage(int uid,
Id[] neighbors,
long[] lastSeen,
NodeHandle source,
Id dest,
char tag)
uid - DESCRIBE THE PARAMETERneighbors - DESCRIBE THE PARAMETERlastSeen - DESCRIBE THE PARAMETERsource - DESCRIBE THE PARAMETERdest - DESCRIBE THE PARAMETERtag - DESCRIBE THE PARAMETER| Method Detail |
public Id getNeighbor(int index)
index - DESCRIBE THE PARAMETER
public long getLastSeen(int index)
index - DESCRIBE THE PARAMETER
public int numNeighbors()
public java.lang.String toString()
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||