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  

UdpAgent Class Reference

#include <udp.h>

Inheritance diagram for UdpAgent:

Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

 UdpAgent ()
 UdpAgent (packet_t)
virtual void sendmsg (int nbytes, const char *flags=0)
virtual void sendmsg (int nbytes, AppData *data, const char *flags=0)
virtual void recv (Packet *pkt, Handler *)
virtual int command (int argc, const char *const *argv)

Protected Attributes

int seqno_

Constructor & Destructor Documentation

UdpAgent::UdpAgent (    ) 
 

UdpAgent::UdpAgent (  packet_t    ) 
 


Member Function Documentation

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

Reimplemented from Agent.

void UdpAgent::recv (  Packet *    pkt,
Handler *   
)  [virtual]
 

Reimplemented from Agent.

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

Reimplemented from Agent.

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

Reimplemented from Agent.


Member Data Documentation

int UdpAgent::seqno_ [protected]
 


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