Webmasters, gagnez de l'argent en affichant des bannières contextuelles Oxado
SourceForge.net Logo
Support This Project
   LeCouteauSuisse Project
Welcome ! [ Home ]  ·  [ Downloads ]  ·  [ Forums ]  ·  [ News ]  ·  [ Documentations ]  
[ Home ]

[ Documentations ]

Queue and Priority of events


One goal of this project is to take a peek of event and dispatch it without lose events and fall the system. To make this, events are put in a stack of events (a queue) and the Dispatcher take each events when required. Events are treated in specific order First In First Out but a priority on the event can change this order. 5 level of priority are available, when a higher event is in the queue it goes out first, even if it was the last to go in.

This sample show 3 events generated with Low priority. Each event is queued and the next event to be treated by the receiver is the first event generated.

A new event is generated but with High prority, in this case this event becomes the next event to be treated by the receiver


LeCouteauSuisse