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  

WebTrafSession Class Reference

#include <webtraf.h>

Inheritance diagram for WebTrafSession:

TimerHandler Handler List of all members.

Public Member Functions

 WebTrafSession (WebTrafPool *mgr, Node *src, int np, int id, int ftcp_, int recycle_p)
virtual ~WebTrafSession ()
RandomVariable *& interPage ()
RandomVariable *& pageSize ()
RandomVariable *& interObj ()
RandomVariable *& objSize ()
void donePage (void *ClntData)
void launchReq (void *ClntData, int obj, int size)
int id () const
WebTrafPool * mgr ()
void set_interPageOption (int option)

Static Public Attributes

int LASTPAGE_ = 1

Private Member Functions

virtual void expire (Event *e=0)
virtual void handle (Event *e)

Private Attributes

RandomVariable * rvInterPage_
RandomVariable * rvPageSize_
RandomVariable * rvInterObj_
RandomVariable * rvObjSize_
WebTrafPool * mgr_
Node * src_
int nPage_
int curPage_
int donePage_
int id_
int interPageOption_
int fulltcp_
int recycle_page_

Constructor & Destructor Documentation

WebTrafSession::WebTrafSession (  WebTrafPool *    mgr,
Node *    src,
int    np,
int    id,
int    ftcp_,
int    recycle_p
) 
 

WebTrafSession::~WebTrafSession (    )  [virtual]
 


Member Function Documentation

void WebTrafSession::donePage (  void *    ClntData ) 
 

void WebTrafSession::expire (  Event *    e = 0 )  [private, virtual]
 

Implements TimerHandler.

void WebTrafSession::handle (  Event *    e )  [private, virtual]
 

Reimplemented from TimerHandler.

int WebTrafSession::id (    )  const [inline]
 

RandomVariable*& WebTrafSession::interObj (    )  [inline]
 

RandomVariable*& WebTrafSession::interPage (    )  [inline]
 

void WebTrafSession::launchReq (  void *    ClntData,
int    obj,
int    size
) 
 

WebTrafPool* WebTrafSession::mgr (    )  [inline]
 

RandomVariable*& WebTrafSession::objSize (    )  [inline]
 

RandomVariable*& WebTrafSession::pageSize (    )  [inline]
 

void WebTrafSession::set_interPageOption (  int    option )  [inline]
 


Member Data Documentation

int WebTrafSession::curPage_ [private]
 

int WebTrafSession::donePage_ [private]
 

int WebTrafSession::fulltcp_ [private]
 

int WebTrafSession::id_ [private]
 

int WebTrafSession::interPageOption_ [private]
 

int WebTrafSession::LASTPAGE_ = 1 [static]
 

WebTrafPool* WebTrafSession::mgr_ [private]
 

int WebTrafSession::nPage_ [private]
 

int WebTrafSession::recycle_page_ [private]
 

RandomVariable * WebTrafSession::rvInterObj_ [private]
 

RandomVariable* WebTrafSession::rvInterPage_ [private]
 

RandomVariable * WebTrafSession::rvObjSize_ [private]
 

RandomVariable * WebTrafSession::rvPageSize_ [private]
 

Node* WebTrafSession::src_ [private]
 


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