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  

RTPAgent Class Reference

#include <rtp.h>

Inheritance diagram for RTPAgent:

Agent Connector NsObject TclObject Handler TFCCAgent ETFCCAgent VTFCCAgent List of all members.

Public Member Functions

 RTPAgent ()
virtual void timeout (int)
virtual void recv (Packet *p, Handler *)
virtual int command (int argc, const char *const *argv)
void advanceby (int delta)
virtual void sendmsg (int nbytes, const char *flags=0)

Protected Member Functions

virtual void sendpkt ()
virtual void makepkt (Packet *)
void rate_change ()
virtual void start ()
virtual void stop ()
virtual void finish ()

Protected Attributes

RTPSession * session_
double lastpkttime_
int seqno_
int running_
int random_
int maxpkts_
double interval_
RTPTimer rtp_timer_

Constructor & Destructor Documentation

RTPAgent::RTPAgent (    ) 
 


Member Function Documentation

void RTPAgent::advanceby (  int    delta ) 
 

int RTPAgent::command (  int    argc,
const char *const *    argv
)  [virtual]
 

Reimplemented from Agent.

void RTPAgent::finish (    )  [protected, virtual]
 

void RTPAgent::makepkt (  Packet *    )  [protected, virtual]
 

Reimplemented in TFCCAgent.

void RTPAgent::rate_change (    )  [protected]
 

void RTPAgent::recv (  Packet *    p,
Handler *   
)  [virtual]
 

Reimplemented from Agent.

Reimplemented in TFCCAgent.

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

Reimplemented from Agent.

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

void RTPAgent::start (    )  [protected, virtual]
 

void RTPAgent::stop (    )  [protected, virtual]
 

Reimplemented in TFCCAgent.

void RTPAgent::timeout (  int    )  [virtual]
 

Reimplemented from Agent.


Member Data Documentation

double RTPAgent::interval_ [protected]
 

double RTPAgent::lastpkttime_ [protected]
 

int RTPAgent::maxpkts_ [protected]
 

int RTPAgent::random_ [protected]
 

RTPTimer RTPAgent::rtp_timer_ [protected]
 

int RTPAgent::running_ [protected]
 

int RTPAgent::seqno_ [protected]
 

RTPSession* RTPAgent::session_ [protected]
 


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