|
DRCL JavaSim API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--drcl.inet.protocol.ospf.OSPF_Neighbor
Class OSPF_Neighbor The information exchanged with other adjacent nodes is described by a OSPF_Neighbor data structure, which is bounded to a specific OSPF router interface. ref: sec.10
OSPF,
OSPF_Interface,
OSPF_DBdesc,
OSPF_LSA,
OSPF_TimeOut_EVT| Constructor Summary | |
protected |
OSPF_Neighbor()
Constructor |
|
OSPF_Neighbor(int src,
OSPF_Interface oif)
Static function used to create an OSPF_Neighbor entity |
| Method Summary | |
protected void |
clear()
Clear all the timer associated with this nbr. |
java.lang.String |
info(java.lang.String prefix_)
|
protected void |
ospf_add_request(OSPF_LSA lsa)
add lsa to summary list of neighbor |
protected void |
ospf_add_retrans(OSPF_LSA lsa)
add lsa to retrans list of neighbor |
protected void |
ospf_add_summary(OSPF_LSA lsa)
add lsa to summary list of neighbor |
protected OSPF_LSA |
ospf_lookup_request(OSPF_LSA lsa)
Lookup lsa on request list of neighbor This lookup is different from others, because this lookup is to find the same LSA instance of different memory space |
protected OSPF_LSA |
ospf_lookup_retrans(OSPF_LSA_Header h)
lookup lsa on retrans list of neighbor |
protected void |
ospf_remove_summary_all()
remove all lsa from retrans list of neighbor |
protected void |
ospf_remove_summary(OSPF_LSA lsa)
remove lsa from summary list of neighbor |
protected void |
prepare_neighbor_lsdb(int now_)
When the neighbor reaches state 'Exchange', we have to list ls summary list for it. |
void |
reset()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected OSPF_Neighbor()
public OSPF_Neighbor(int src,
OSPF_Interface oif)
| Method Detail |
protected void clear()
protected void prepare_neighbor_lsdb(int now_)
protected void ospf_add_summary(OSPF_LSA lsa)
protected void ospf_remove_summary(OSPF_LSA lsa)
protected void ospf_remove_summary_all()
protected void ospf_add_request(OSPF_LSA lsa)
protected OSPF_LSA ospf_lookup_retrans(OSPF_LSA_Header h)
protected void ospf_add_retrans(OSPF_LSA lsa)
protected OSPF_LSA ospf_lookup_request(OSPF_LSA lsa)
public void reset()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String info(java.lang.String prefix_)
|
DRCL JavaSim API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||