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  

LmsAgent Class Reference

Inheritance diagram for LmsAgent:

Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

 LmsAgent ()
int command (int argc, const char *const *argv)
void recv (Packet *, Handler *)

Protected Member Functions

NsObjectiface2link (int iface)
NsObjectpkt2agent (Packet *pkt)
void send_upstream (Packet *p)
void send_downstream (Packet *p)
void send2replier (Packet *p)

Protected Attributes

char uname_ [16]
int lms_enabled_
int replier_iface_
int replier_cost_
int replier_dist_
nsaddr_t upstream_lms_
ns_addr_t downstream_lms_
int upstream_iface_
int have_rcvr_

Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from Agent.

NsObject * LmsAgent::iface2link int    iface [protected]

NsObject * LmsAgent::pkt2agent Packet   pkt [protected]

void LmsAgent::recv Packet  ,

Reimplemented from Agent.

void LmsAgent::send2replier Packet   p [inline, protected]

void LmsAgent::send_downstream Packet   p [protected]

void LmsAgent::send_upstream Packet   p [protected]

Member Data Documentation

ns_addr_t LmsAgent::downstream_lms_ [protected]

int LmsAgent::have_rcvr_ [protected]

int LmsAgent::lms_enabled_ [protected]

NsObject* LmsAgent::replier_ [protected]

int LmsAgent::replier_cost_ [protected]

int LmsAgent::replier_dist_ [protected]

int LmsAgent::replier_iface_ [protected]

char LmsAgent::uname_[16] [protected]

int LmsAgent::upstream_iface_ [protected]

nsaddr_t LmsAgent::upstream_lms_ [protected]

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