class Queue : public Connector


Inheritance:


Public Methods

void block()
int blocked()
virtual Packet* deque()
virtual void enque(Packet*)
int length()
number of pkts currently in underlying packet queue
int limit()
virtual void recv(Packet*, Handler*)
void resume()
void unblock()

Protected Fields

int blocked_
blocked now?
PacketQueue* pq_
pointer to actual packet queue (maintained by the individual disciplines like DropTail and RED)
QueueHandler qh_
int qlim_
maximum allowed pkts in queue
int unblock_on_resume_
unblock q on idle?

Protected Methods

Queue()
void reset()

Inherited from Connector:

Public Methods

virtual void drop(Packet* p)
inline NsObject* target()

Protected Fields

NsObject* drop_
NsObject* target_

Protected Methods

int command(int argc, const char*const* argv)
virtual void drop(Packet* p, const char *s)
inline void send(Packet* p, Handler* h)

Inherited from NsObject:

Public Methods

virtual void debug(const char *fmt, ...)
virtual int delay_bind_dispatch(const char *varName, const char *localName, TclObject *tracer)
virtual void delay_bind_init_all()
int isdebug()

Protected Fields

int debug_
int off_cmn_
int off_flags_

Protected Methods

void handle(Event*)

Inherited from Handler:


Documentation

virtual void enque(Packet*)

virtual Packet* deque()

virtual void recv(Packet*, Handler*)

void resume()

int blocked()

void unblock()

void block()

int limit()

int length()
number of pkts currently in underlying packet queue

Queue()

void reset()

int qlim_
maximum allowed pkts in queue

int blocked_
blocked now?

int unblock_on_resume_
unblock q on idle?

QueueHandler qh_

PacketQueue* pq_
pointer to actual packet queue (maintained by the individual disciplines like DropTail and RED).


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