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  

SRAgent Class Reference

#include <sragent.h>

Inheritance diagram for SRAgent:

Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

void install (int slot, NsObject *)
void alloc (int)
virtual int command (int argc, const char *const *argv)
virtual void recv (Packet *, Handler *callback=0)
 SRAgent ()
 ~SRAgent ()

Public Attributes

h_nodetable [10]
int num_connection
NsObject ** slot_
int nslot_
int maxslot_

Private Attributes

int off_src_

Constructor & Destructor Documentation



Member Function Documentation

void SRAgent::alloc int   

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

Reimplemented from Agent.

void SRAgent::install int    slot,

void SRAgent::recv Packet  ,
Handler   callback = 0

Reimplemented from Agent.

Member Data Documentation

Agent* SRAgent::agent_ [private]

int SRAgent::maxslot_

int SRAgent::nslot_

int SRAgent::num_connection

int SRAgent::off_src_ [private]

NsObject** SRAgent::slot_

h_node* SRAgent::table[10]

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