Public Member Functions | Protected Member Functions | Protected Attributes

GAFAgent Class Reference

Inheritance diagram for GAFAgent:
Agent Connector NsObject Handler

List of all members.

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_
int maxttl_
GafNodeState state_
int leader_settime_
int adapt_mobility_

The documentation for this class was generated from the following files: