DRCL J-Sim API

drcl.inet.protocol.ospf
Class OSPF_SPF_vertex

java.lang.Object
  extended bydrcl.inet.protocol.ospf.OSPF_SPF_vertex

public class OSPF_SPF_vertex
extends java.lang.Object

Data structure of vertex in the shortest path tree (SPF). Ref: sec. 16.1

Author:
Wei-peng Chen

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
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OSPF_SPF_vertex

public OSPF_SPF_vertex()
constructor


OSPF_SPF_vertex

public OSPF_SPF_vertex(OSPF_LSA lsa_,
                       int dist_,
                       boolean intree_)
constructor

Method Detail

set

public void set(OSPF_LSA lsa_,
                int dist_,
                boolean intree_)

reset

public void reset()

toString

public java.lang.String toString()

_toString

public java.lang.String _toString()

equals

public boolean equals(java.lang.Object that_)

getDistance

public int getDistance()

DRCL J-Sim API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~