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  

SA_Agent Class Reference

#include <sa.h>

Inheritance diagram for SA_Agent:

Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

 SA_Agent ()
 ~SA_Agent ()
int command (int, const char *const *)
virtual void timeout (int)
virtual void sendmsg (int nbytes, const char *flags=0)

Protected Member Functions

void start ()
void stop ()
void sendreq ()
void sendteardown ()
void recv (Packet *, Handler *)
void stoponidle (const char *)
virtual void sendpkt ()

Protected Attributes

double rate_
int bucket_
NsObject * ctrl_target_
TrafficGenerator * trafgen_
int rtd_
char * callback_
SA_Timer sa_timer_
double nextPkttime_
int running_
int seqno_
int size_

Constructor & Destructor Documentation

SA_Agent::SA_Agent (    ) 
 

SA_Agent::~SA_Agent (    ) 
 


Member Function Documentation

int SA_Agent::command (  int   ,
const char *const *   
)  [virtual]
 

Reimplemented from Agent.

void SA_Agent::recv (  Packet *   ,
Handler *   
)  [protected, virtual]
 

Reimplemented from Agent.

void SA_Agent::sendmsg (  int    nbytes,
const char *    flags = 0
)  [virtual]
 

Reimplemented from Agent.

void SA_Agent::sendpkt (    )  [protected, virtual]
 

void SA_Agent::sendreq (    )  [protected]
 

void SA_Agent::sendteardown (    )  [protected]
 

void SA_Agent::start (    )  [protected]
 

void SA_Agent::stop (    )  [protected]
 

void SA_Agent::stoponidle (  const char *    )  [protected]
 

void SA_Agent::timeout (  int    )  [virtual]
 

Reimplemented from Agent.


Member Data Documentation

int SA_Agent::bucket_ [protected]
 

char* SA_Agent::callback_ [protected]
 

NsObject* SA_Agent::ctrl_target_ [protected]
 

double SA_Agent::nextPkttime_ [protected]
 

double SA_Agent::rate_ [protected]
 

int SA_Agent::rtd_ [protected]
 

int SA_Agent::running_ [protected]
 

SA_Timer SA_Agent::sa_timer_ [protected]
 

int SA_Agent::seqno_ [protected]
 

int SA_Agent::size_ [protected]
 

Reimplemented from Agent.

TrafficGenerator* SA_Agent::trafgen_ [protected]
 


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