Using the Event Notifer Service
Using the Event Notifer Service
- servers create and subscribe active objects
pdcm1 = new TIE_Dcm(Dcm_I)
(new Dcm_I( ),”dcm1”);
pevnot->subscribe(eventlist,”dcm1”,pdcm1);
- Clients send asynchronous event via the Event Notifier
Event event;
// fill event with event identifiier and data
pevnot->sendevent(event );