class <PagePool/WebTraf> WebTrafPool : public PagePool


Inheritance:


Public Methods

PagePool/WebTraf instproc alloc-tcp {}
PagePool/WebTraf instproc alloc-tcp-sink {}
PagePool/WebTraf instproc done-req { clnt svr ctcp csnk stcp size }
PagePool/WebTraf instproc done-resp { clnt svr stcp ssnk }
inline void doneSession(int idx)
PagePool/WebTraf instproc launch-req { id clnt svr ctcp csnk stcp ssnk size }
inline int nSink()
inline int nTcp()
inline Node* pickdst()
TcpSink* picksink()
inline Node* picksrc()
TcpAgent* picktcp()
WebTrafPool()
virtual ~WebTrafPool()

Protected Classes

struct AgentListElem
TCP agent pool management
AgentListElem(Agent* a)
Agent* agt_
LIST_ENTRY(AgentListElem)

Protected Fields

Node** client_
Browsers
int nClient_
int nSession_
Session management: fixed number of sessions, fixed number of pages per session
int nSrc_
int nTcp_
Node** server_
Web servers
WebTrafSession** session_
AgentList sinkPool_
TCP sink pool
AgentList tcpPool_
TCP agent pool

Protected Methods

virtual int command(int argc, const char*const* argv)
inline Agent* detachHead(AgentList* l)
inline void insertAgent(AgentList* l, Agent *a)
LIST_HEAD(AgentList, AgentListElem)
inline int lookup_rv(RandomVariable*& rv, const char* name)
Helper methods

Protected

struct AgentListElem
TCP agent pool management
AgentListElem(Agent* a)
Agent* agt_
LIST_ENTRY(AgentListElem)

Inherited from PagePool:

Public Methods

PagePool instproc gen-page { pageid thismod }

Documentation

WebTrafPool()

virtual ~WebTrafPool()

inline Node* picksrc()

inline Node* pickdst()

inline void doneSession(int idx)

TcpAgent* picktcp()

TcpSink* picksink()

inline int nTcp()

inline int nSink()

virtual int command(int argc, const char*const* argv)

int nSession_
Session management: fixed number of sessions, fixed number of pages per session

WebTrafSession** session_

int nSrc_

Node** server_
Web servers

int nClient_

Node** client_
Browsers

struct AgentListElem
TCP agent pool management

AgentListElem(Agent* a)

Agent* agt_

LIST_ENTRY(AgentListElem)

LIST_HEAD(AgentList, AgentListElem)

inline void insertAgent(AgentList* l, Agent *a)

inline Agent* detachHead(AgentList* l)

int nTcp_

AgentList tcpPool_
TCP agent pool

AgentList sinkPool_
TCP sink pool

inline int lookup_rv(RandomVariable*& rv, const char* name)
Helper methods

PagePool/WebTraf instproc launch-req { id clnt svr ctcp csnk stcp ssnk size }

PagePool/WebTraf instproc done-req { clnt svr ctcp csnk stcp size }

PagePool/WebTraf instproc done-resp { clnt svr stcp ssnk }

PagePool/WebTraf instproc alloc-tcp {}
XXX Should allow customizable TCP types. Can be easily done via a class variable

PagePool/WebTraf instproc alloc-tcp-sink {}


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de