The Event Analyzer takes a ready EAWE from the queue and cross references the Actions that have been detected with the Events that have been defined. If the weight of the Actions meets the threshold requirement of an Event, an Event Element is created and put on the queue for the Stream. If no Events are detected for the Stream, some or all of the data is freed, and if the Stream is not fully complete, the Stream's SAWE is put on the continue queue for the Stream Handler to reprocess the Stream. If Events are detected, an Analysis Record is created with all Events, Actions, and Triggers detected and at least enough of the original data to provide a context for the Triggers. The Analysis Record is then passed to the Spooler through a FIFO. If the Stream is fully complete, all of its data and informational elements are freed. |