|
J-Sim v1.2.1-p7 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.inet.protocol.ospf.OSPF_SPF_vertex
Data structure of vertex in the shortest path tree (SPF). Ref: sec. 16.1
| Field Summary | |
protected OSPF_Interface |
ifp
|
protected boolean |
intree
flag to indicate if this vertex is on tree |
protected java.util.Vector |
nexthops
The list of next hops from the root to this vertex |
protected OSPF_SPF_vertex |
parent
|
protected int |
vtx_distance
Distance (cost) from the root to this vertex |
protected long |
vtx_id
vtx_id together with the vertex type (router or network) uniquely identifies the vertex. |
protected OSPF_LSA |
vtx_lsa
Each transit vertex has an associated LSA. |
protected int |
vtx_type
"router" or "network" |
| Constructor Summary | |
OSPF_SPF_vertex()
constructor |
|
OSPF_SPF_vertex(OSPF_LSA lsa_,
int dist_,
boolean intree_)
constructor |
|
| Method Summary | |
java.lang.String |
_toString()
|
boolean |
equals(java.lang.Object that_)
|
int |
getDistance()
|
void |
reset()
|
void |
set(OSPF_LSA lsa_,
int dist_,
boolean intree_)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected long vtx_id
protected int vtx_type
protected OSPF_LSA vtx_lsa
protected java.util.Vector nexthops
protected int vtx_distance
protected OSPF_SPF_vertex parent
protected OSPF_Interface ifp
protected boolean intree
| Constructor Detail |
public OSPF_SPF_vertex()
public OSPF_SPF_vertex(OSPF_LSA lsa_,
int dist_,
boolean intree_)
| Method Detail |
public void set(OSPF_LSA lsa_,
int dist_,
boolean intree_)
public void reset()
public java.lang.String toString()
public java.lang.String _toString()
public boolean equals(java.lang.Object that_)
public int getDistance()
|
J-Sim v1.2.1-p7 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||