Generic Event Dispatching with ACE

Generic Event Dispatching with ACE

Post by Tomer S » Thu, 22 May 2003 05:08:47



I've been recently searching for a framework that will allow me to
dispatch generic events in a producer / consumer like environment,
something very similar to CORBA's Event Service. By generic I mean
events that might contain properiatry data (such as integers, strings,
etc.).

Using CORBA just for event dispatching seems like an over-kill to my
project.

I thought about using ACE for the job. However, I found out that the
great event dispatching mechanism in ACE only supports I/O related
events such as handle_input(), handle_output(), etc.

ACE does support the passing of messages between two tasks - but the
sending task needs to be aware of the receiving task - which is a very
bad practice.

Since I'm quite new to ACE, I wondered if anyone else has done
something like that with ACE. Are there any classes in ACE that will
help me implement this event dispatcher?

Thanks!

 
 
 

1. Generic Event Dispatching with ACE

Hi Tomer,

Check out

1. The ACE Gateway, which is described in our paper at

   http://www.cs.wustl.edu/~schmidt/PDF/TAPOS-00.pdf

   and is available in

   $ACE_ROOT/apps/Gateway/Gateway/

   Many of the patterns in POSA2 <www.cs.wustl.edu/~schmidt/POSA/>
   also describe various aspects of the Gateway example.

2. The ACE Event Server, which is describe in our paper at

   http://www.cs.wustl.edu/~schmidt/PDF/DSEJ-04.pdf

   and is available in

   $ACE_ROOT/examples/ASX/Event_Server/Event_Server/

Take care,

        Doug
--
Dr. Douglas C. Schmidt, Professor           TEL: (615) 343-8197
Electrical Engineering and Computer Science FAX: (615) 343-7440
Vanderbilt University                       WEB: www.cs.wustl.edu/~schmidt/

2. outlook XP folder permissions

3. Exception dispatching structured event

4. sync contacts and todos with outlook but not mail

5. a question about modifying dhcp implentation in vxworks

6. [ace-bugs] Bug in ACE_Sig_Handler::dispatch()

7. I got a telephony control.

8. Can I use user-defined events with ACE Notification interface?

9. [tao-bugzilla] [Bug 1161] New: infinite wait in ACE WFMO Reactor::event handling()

10. ACE User-Defined Events

11. Newbie: Ace Events

12. [TAO RealTime Event Service]: [Can't use Event channel with POA other than root]