|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Node | |
|---|---|
| gps.network | Provides network related informaiton. |
| gps.network.graph | Provides graph topology representative. |
| gps.protocol | Provides p2p protocol templete. |
| Uses of Node in gps.network |
|---|
| Methods in gps.network that return Node | |
|---|---|
Node |
Topology.getNode(int id)
gets the node instance from it's id |
Node[] |
Topology.getNodes()
gets all nodes |
| Methods in gps.network with parameters of type Node | |
|---|---|
double |
Connection.getBandwidthFrom(Node n)
gets one way bandwidth |
double |
Topology.getDelay(Node node1,
Node node2)
gets delay between two nodes |
Link |
Topology.getLinkBetween(Node node1,
Node node2)
gets link between two directly connected nodes |
Link[] |
Topology.getLinksBetween(Node node1,
Node node2)
gets links between two nodes, which may or may not connect to each other |
void |
Connection.setBandwidthFrom(Node n,
double b)
sets one way bandwidth |
| Constructors in gps.network with parameters of type Node | |
|---|---|
Connection(Node a,
Node b)
constructs a connection between nodes |
|
| Uses of Node in gps.network.graph |
|---|
| Methods in gps.network.graph that return Node | |
|---|---|
Node[] |
Graph.getAllNodes()
gets all nodes |
Node |
Graph.getNode(int key)
Retrieve a node |
Node |
Graph.newNode()
creates a new Node that is already element of the graph (no need to call addNode()) |
| Methods in gps.network.graph with parameters of type Node | |
|---|---|
int |
Graph.addNode(Node n)
add a node to the graph |
Link |
Node.getLinkTo(Node n)
gets link to another node |
void |
Node.hasLinkTo(Node n,
Link l)
add a link between this node and another node |
| Uses of Node in gps.protocol |
|---|
| Methods in gps.protocol that return Node | |
|---|---|
Node |
Agent.getNode()
gets the node that this agent is attached to |
| Methods in gps.protocol with parameters of type Node | |
|---|---|
void |
Agent.attachTo(Node n)
attach this agent to a node |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||