How to make use of gen_event behaviour

suresh saragadam sureshsaragadam@REDACTED
Thu Oct 21 05:40:40 CEST 2004


Hi
 
A  small clarification about gen_event behaviour, 
 
For suppose i have 25 different events to be handled,  
 
If i am implementing gen_event behaviour, i should have 1 event manager,
 
and 25 event handlers,
 
As event handler is implemented as a callback module, 
 
I should have 25 callback modules. 
 
When ever an event occurs particular event handler is called as a call back module
 
am i correct
 
if i have '100 events' i should have '100 event handlers' implemented as call back modules
i.e '100 moudles' (each one for one event)
 
sureshsaragadam
 
 
  

		
---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20041020/30039bc2/attachment.htm>


More information about the erlang-questions mailing list