|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Abstracts the topology of a set of nodes.
This is a Serializable as it is exchanged between nodes.
| Method Summary | |
int |
getIDOfNode(NodeInfo aNodeInfo)
Gets the identifier of the provided node in the specified topology. |
Set |
getNeighbours(NodeInfo aRoot)
Gets the neighbours of the specified node. |
NodeInfo |
getNodeById(int anId)
Gets the NodeInfo having the specified identifier. |
Set |
getNodes()
Gets the NodeInfo registered by this topology. |
NodeInfo[] |
getPath(NodeInfo aSource,
NodeInfo aTarget)
Gets a path between aSource and aTarget. |
int |
getVersion()
Gets the version of this topology. |
| Method Detail |
public int getVersion()
public Set getNeighbours(NodeInfo aRoot)
aRoot - Node.
public NodeInfo[] getPath(NodeInfo aSource,
NodeInfo aTarget)
aSource - Source node.aTarget - Target node.
public int getIDOfNode(NodeInfo aNodeInfo)
aNodeInfo - Node whose identifier is to be returned.
public NodeInfo getNodeById(int anId)
anId - Node identifier.
public Set getNodes()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||