| ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| | Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <webserver.h>
Inheritance diagram for WebServer:

Public Member Functions | |
| WebServer (WebTrafPool *) | |
| void | set_node (Node *) |
| Node * | get_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 | |
| WebTrafPool * | web_pool_ |
| Node * | node |
| double | rate_ |
| int | mode_ |
| job_s * | head |
| job_s * | tail |
| int | queue_size_ |
| int | queue_limit_ |
| int | busy_ |
|
|
|
|
|
Implements TimerHandler. |
|
|
|
|
|
|
|
||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|