|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.inet.protocol.aodv.AODV_RTEntry
AODV_RTEntry.java AODV routing Entry dedicated for AODV usage. Note the routing entry is kept in AODV classes for some special operations for AODV such as local repairs. The content of the routing table should be consistent with the routing table kept in the core (core.RT).
AODV| Field Summary | |
int |
rt_req_cnt
number of route requests |
double |
rt_req_timeout
when I can send another req |
| Method Summary | |
void |
pc_delete()
|
void |
pc_delete(long id)
|
boolean |
pc_empty()
|
void |
pc_insert(long id)
|
long |
pc_lookup(long id)
|
void |
rt_down()
Disable the routing entry |
void |
rt_update(int seqnum,
int metric,
long nexthop)
rt_update: update the routing entry |
void |
rt_update(int seqnum,
int metric,
long nexthop,
double expire_time)
rt_update: update the routing entry |
boolean |
set_expire(double new_expire)
return true, if it really modifies rt_expire |
java.lang.String |
toString()
express the content of the routing entry |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public double rt_req_timeout
public int rt_req_cnt
| Method Detail |
public void pc_insert(long id)
public long pc_lookup(long id)
public void pc_delete(long id)
public void pc_delete()
public boolean pc_empty()
public void rt_down()
public void rt_update(int seqnum,
int metric,
long nexthop,
double expire_time)
public void rt_update(int seqnum,
int metric,
long nexthop)
public boolean set_expire(double new_expire)
public java.lang.String toString()
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||