Using application behaviour to just change a gen event handler

Sean Hinde <>
Mon Oct 25 16:44:19 CEST 1999


Hi Everyone,

I have a requirement for an "application" which doesn't have any processes
of its own but has a set of library type functions and installs an event
handler in the local alarm_handler gen_event process.

The application behaviour appears to require the Pid of the top level
supervisor to be returned but I won't have one in my case.

Any suggestions as to how to install the new event handler during
application startup while maintaining the API rules of application?

Thanks,

Sean Hinde

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2295 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/19991025/844d3b96/attachment.bin>


More information about the erlang-questions mailing list