About the Handler in gen_event

Sean Hinde <>
Tue Feb 25 18:53:55 CET 2003


Each time one of your callbacks is called it should return a term where one
of the elements is the new state (look at the gen_event manual to find out
the possible return values. Next time any callback is called it will get
this new state.
 
To trace you can use the sys:trace/2 function - it is documented

Sean

-----Original Message-----
From: Suresh S [mailto:]
Sent: 25 February 2003 11:20
To: 
Subject: RE: About the Handler in gen_event



Ulf Wiger and sean, 


I thank, According to the changes this module is working fine, 


I did not get the concept of the 'State' exactly  incase of  all the
callback functions, 


Any tips can help me more in working and debugging with callback modules  


regards 


suresh s   





 

  <http://sg.yimg.com/i/aa/icons/28/cricket.gif> Catch all the cricket
action. Download Yahoo!  <http://in.sports.yahoo.com/cricket/tracker.html>
Score tracker




 NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




More information about the erlang-questions mailing list