In gen_event, what functional diff does it makes for gen_event:notify & gen_event:call

Suresh S <>
Thu Feb 20 13:55:11 CET 2003


Hi,

>> gen_event:call(EntMgr, Handler, Req) -->
>> M:handle_event(Req, S)
> 
> No, a call is handled in M:handle_call(Query,State)

i mean to ask for handle_call only , but in a hurry i
mistyped

Any how in case of M:handle_call(Req, S)
How do we pass Handler = { M, Id }

what is the need for Id?
how do i pass the handler i have to handle?

Thanking u 

regards
suresh s

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com



More information about the erlang-questions mailing list