|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
This is the interface for an overlay node. The node is responsible for organizing the overlay and providing information on how to route a message on the overlay. This interface is implemented by the class HC_Node and DT_Node.
| Method Summary | |
I_LogicalAddress |
createLogicalAddress(byte[] laddr,
int offset)
Creates a logical address object from a byte array. |
I_AddressPair[] |
getAllNeighbors()
Returns the node's neighbors' physical/logical address pairs. |
I_AddressPair[] |
getChildren(I_LogicalAddress root)
Returns the node's children's physical/logical address pairs, with respect to the spanning tree rooted at root. |
I_AddressPair |
getMyAddressPair()
Returns this logical and physical addresses of this node. |
I_AddressPair |
getParent(I_LogicalAddress root)
Returns the addresspair of the next hop for a message routed by this node towards the root. |
void |
joinGroup()
Joins the overlay. |
void |
leaveGroup()
Leaves the overlay. |
| Methods inherited from interface edu.virginia.cs.mng.hypercast.I_Stats |
getSchema,
getStats,
setStats |
| Method Detail |
public void joinGroup()
public void leaveGroup()
public I_AddressPair getParent(I_LogicalAddress root)
root.public I_AddressPair[] getChildren(I_LogicalAddress root)
root.public I_AddressPair[] getAllNeighbors()
public I_AddressPair getMyAddressPair()
public I_LogicalAddress createLogicalAddress(byte[] laddr,
int offset)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||