/*****************************************************************************************/
/*                                    Trace_ProdCons                                     */
/*****************************************************************************************/
/*                     Author: Luis Burdalo (lburdalo@dsic.upv.es)                       */
/*****************************************************************************************/
/*                                     DESCRIPTION                                       */
/*****************************************************************************************/

    Simple producer/consumer example. This example is based on trace events instead of
 being based on ACL messages.
 
    The SenderAgent builds and sends a trace event from the type "TRACE_TEST" each 1
second. The ConsumerAgent subscribes to that event type and, each time it receives a trace
event from the specified type, it displays its content on the screen. After 10 seconds,
Sender and Consumer agents wait for 3 seconds and then finish. Before ending, the
Consumer agent unsubscribes from the "TRACE_TEST" event type.

/****************************************************************************************/