This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
QuickNoteQueue -- Click element; stores packets in a FIFO queue
Ports: 1 input, 1-2 outputs
Package: standard (core)
Stores incoming packets in a first-in-first-out queue. Drops incoming packets if the queue already holds CAPACITY packets. The default for CAPACITY is 1000. QuickNoteQueue notifies interested parties when it becomes empty and when a formerly-empty queue receives a packet. Unlike the Queue element, QuickNoteQueue's empty notification takes place immediately after the queue goes empty. Like Queue, QuickNoteQueue additionally notifies interested parties that it is non-full, and when a formerly-full queue gains some free space. In all respects but notification, Queue behaves exactly like SimpleQueue. Multithreaded Click note: QuickNoteQueue is designed to be used in an environment with at most one concurrent pusher and at most one concurrent puller. Thus, at most one thread pushes to the QuickNoteQueue at a time and at most one thread pulls from the QuickNoteQueue at a time. Different threads can push to and pull from the QuickNoteQueue concurrently, however. See ThreadSafeQueue for a queue that can support multiple concurrent pushers and pullers.
Generated by 'click-elem2man' from '../elements/standard/quicknotequeue.hh' on 28/Feb/2010.