ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

FloodAgent Class Reference

#include <flood-agent.h>

Inheritance diagram for FloodAgent:

Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

 FloodAgent ()
virtual int command (int argc, const char *const *argv)

Protected Member Functions

void startUp ()
void periodic_callback (Event *e, int level)
void recv (Packet *p, Handler *)
void trace (char *fmt,...)
int search_queries_list (nsaddr_t src, int obj_name, int origin_time, int num_hops, nsaddr_t last_hop_id)
nsaddr_t get_next_hop (nsaddr_t src, int obj_name, int origin_time)

Protected Attributes

int seqno_
int myaddr_
int debug_
int cache_
int num_cached_items_

Constructor & Destructor Documentation


Member Function Documentation

int FloodAgent::command int    argc,
const char *const *    argv

Reimplemented from Agent.

nsaddr_t FloodAgent::get_next_hop nsaddr_t    src,
int    obj_name,
int    origin_time

void FloodAgent::periodic_callback Event   e,
int    level

void FloodAgent::recv Packet   p,
[protected, virtual]

Reimplemented from Agent.

int FloodAgent::search_queries_list nsaddr_t    src,
int    obj_name,
int    origin_time,
int    num_hops,
nsaddr_t    last_hop_id

void FloodAgent::startUp   [protected]

void FloodAgent::trace char *    fmt,

Member Data Documentation

int FloodAgent::cache_ [protected]

int FloodAgent::debug_ [protected]

Reimplemented from NsObject.

PriQueue* FloodAgent::ll_queue [protected]

int FloodAgent::myaddr_ [protected]

MobileNode* FloodAgent::node_ [protected]

int FloodAgent::num_cached_items_ [protected]

QueryList* FloodAgent::query_list_ [protected]

int FloodAgent::seqno_ [protected]

TagCache* FloodAgent::tag_cache_ [protected]

tags_database* FloodAgent::tag_dbase_ [protected]

compr_taglist* FloodAgent::tag_list_ [protected]

Trace* FloodAgent::tracetarget_ [protected]

The documentation for this class was generated from the following files:
This document is generated by doxygen.