| ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| | Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <gaf.h>
Inheritance diagram for GAFAgent:

Public Member Functions | |
| GAFAgent (nsaddr_t id) | |
| virtual void | recv (Packet *, Handler *) |
| void | timeout (GafMsgType) |
| u_int32_t | nodeid () |
| double | myttl () |
Protected Member Functions | |
| int | command (int argc, const char *const *argv) |
| void | node_on () |
| void | node_off () |
| void | duty_timeout () |
| void | send_discovery () |
| void | makeUpDiscoveryMsg (Packet *p) |
| void | processDiscoveryMsg (Packet *p) |
| void | schedule_wakeup (struct DiscoveryMsg) |
| void | setGAFstate (GafNodeState) |
Protected Attributes | |
| double | beacon_ |
| int | randomflag_ |
| GAFDiscoverTimer | timer_ |
| GAFSelectTimer | stimer_ |
| GAFDutyTimer | dtimer_ |
| int | seqno_ |
| int | gid_ |
| int | nid_ |
| Node * | thisnode |
| int | maxttl_ |
| GafNodeState | state_ |
| int | leader_settime_ |
| int | adapt_mobility_ |
|
|
|
|
||||||||||||
|
Reimplemented from Agent. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Reimplemented from Agent. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|