gen_event and distribution

Erik Reitsma (ELN) <>
Fri Oct 12 16:18:59 CEST 2001


> Event handlers are callback modules, not processes. When an
> event manager process is notified about an event, it simply
> calls Handler:handle_event/2 for each installed event handler.

Ok, then I guess if I want the handling of the event to be handled in B, I would have to run a server at B, and the event handler would call something in the server... I'll try that then!

Thanks!

*Erik. 
> 
> / Gunilla
> 
> 
> "Erik Reitsma (ELN)" wrote:
> > 
> > Hi!
> > 
> > I have an event manager running on a node A, and I want to add a
> handler from another node B. I would like to have the handler 
> running on
> node B. However, if I add the handler to the event manager at A, it
> starts the event handler locally. Is there an easy way to get the
> handler at node B instead?
> > 
> > *Erik.
> 



More information about the erlang-questions mailing list