Public Member Functions | Static Public Member Functions

ns3::DropTailQueue Class Reference
[Queue]

A FIFO packet queue that drops tail-end packets on overflow. More...

#include <drop-tail-queue.h>

Inheritance diagram for ns3::DropTailQueue:
Inheritance graph
[legend]
Collaboration diagram for ns3::DropTailQueue:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DropTailQueue ()
 DropTailQueue Constructor.

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::DropTailQueue.

Detailed Description

A FIFO packet queue that drops tail-end packets on overflow.


Constructor & Destructor Documentation

ns3::DropTailQueue::DropTailQueue (  ) 

DropTailQueue Constructor.

Creates a droptail queue with a maximum size of 100 packets by default


Member Function Documentation

static TypeId ns3::DropTailQueue::GetTypeId ( void   )  [static]

This method returns the TypeId associated to ns3::DropTailQueue.

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3CsmaNetDevice/TxQueue/$ns3DropTailQueue
  • /NodeList/[i]/DeviceList/[i]/$ns3PointToPointNetDevice/TxQueue/$ns3DropTailQueue

Attributes defined for this type:

  • MaxPackets: The maximum number of packets accepted by this DropTailQueue.

No TraceSources defined for this type.
TraceSources defined in parent class ns3::Queue:

  • Enqueue: Enqueue a packet in the queue.
  • Dequeue: Dequeue a packet from the queue.
  • Drop: Drop a packet stored in the queue.

Reimplemented from ns3::Queue.


The documentation for this class was generated from the following files: