[Twisted-web] How to insert an Athena event handler using Stan?

kgi iacovou at gmail.com
Wed Nov 1 11:05:38 CST 2006


On Wednesday 01 November 2006 18:15, Jean-Paul Calderone wrote:
> The issue with the handler you showed me is most likely that the handler
> thinks its first argument is an event, but it is actually a node.  There is
> no way to access the event object right now, but I have been considering
> just passing it as the next argument.

Darn, I only just now saw that there were more emails in this thread since I 
started to compose my example. That's probably the cause of the problem.

So, is:

  function doFoo ( self, node )

currently the canonical prototype for all athena event handlers, without 
exception?

Regards,

Ricky



More information about the Twisted-web mailing list