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  

WebServer Class Reference

#include <webserver.h>

Inheritance diagram for WebServer:

TimerHandler Handler List of all members.

Public Member Functions

 WebServer (WebTrafPool *)
void set_node (Node *)
Nodeget_node ()
int get_nid ()
void set_rate (double)
void set_mode (int)
void set_queue_limit (int)
double job_arrival (int, Node *, Agent *, Agent *, int, void *)

Private Member Functions

virtual void expire (Event *e)
double job_departure ()
void schedule_next_job ()

Private Attributes

double rate_
int mode_
int queue_size_
int queue_limit_
int busy_

Constructor & Destructor Documentation

WebServer::WebServer WebTrafPool  

Member Function Documentation

void WebServer::expire Event   e [private, virtual]

Implements TimerHandler.

int WebServer::get_nid  

Node * WebServer::get_node  

double WebServer::job_arrival int   ,
Node  ,
Agent  ,
Agent  ,
int   ,
void *   

double WebServer::job_departure   [private]

void WebServer::schedule_next_job   [private]

void WebServer::set_mode int   

void WebServer::set_node Node  

void WebServer::set_queue_limit int   

void WebServer::set_rate double   

Member Data Documentation

int WebServer::busy_ [private]

job_s* WebServer::head [private]

int WebServer::mode_ [private]

Node* WebServer::node [private]

int WebServer::queue_limit_ [private]

int WebServer::queue_size_ [private]

double WebServer::rate_ [private]

job_s * WebServer::tail [private]

WebTrafPool* WebServer::web_pool_ [private]

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