Hi Bart, Jens, Nico, Thanks for this element! I wonder, though, whether it would be better to update Unqueue to support this functionality. I've checked in to Unqueue a new arugment, LIMIT, and new handlers, reset, limit, and burst. The equivalent of PokeUnqueue.poke would be something like
... Unqueue(BURST 4) ... Script(write uq.reset) -- but not quite, since the Unqueue will reschedule itslef until 4 packets are pulled, and PokeUnqueue would pull at most 4 packets in one go. I wonder what you are using PokeUnqueue for, whether you think it's important to have a separate element, etc. Eddie Bart Braem wrote: > And once again attachments sent over our mailserver do not find their > way to the mailinglist, strange. > Hopefully now they do. > > Sorry for the noise, > Bart > > On 12 Mar 2009, at 16:17, Bart Braem wrote: > >> Eddie, >> >> Attached you will find a very basic element that will unqueue BURST >> packets if poked, default 1. We use it behind a queue to unblock BURST >> packets on a specific moment, triggered by a write handler. Similar >> functionality seemed not available in other elements so this looked >> like a good addition. We did not find a better name, feel free to >> adapt it if needed. >> Credit for writing the element goes to Jens and Nico, in CC. I have >> done a basic functionality test, together with a valgrind check. If >> anything more is needed, feel free to contact me. Otherwise, we would >> be happy to contribute this to the project. >> >> Regards, >> Bart >> -- >> Bart Braem >> PATS research group - IBBT >> Dept. of Mathematics and Computer Sciences >> University of Antwerp >> Campus Middelheim, G3.30 >> Middelheimlaan 1 >> B-2020 Antwerpen, Belgium >> Phone: +32 (0)3 265.32.91 >> Fax: +32 (0)3 265.37.77 >> Web: www.pats.ua.ac.be >> _______________________________________________ >> click mailing list >> [email protected] >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click > > > ------------------------------------------------------------------------ > > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
