Re: [Twisted-Python] Declaring AMP responders away from

2012-05-16 Thread Allen Short
Have a look at what I did in Frack: http://bazaar.launchpad.net/~washort/frack/trunk/view/head:/frack/wiring.py#L27 http://bazaar.launchpad.net/~washort/frack/trunk/view/head:/frack/responder.py#L85 You can unbundle the locator and dispatcher bits. I only used this for a single separate class, bu

[Twisted-Python] Declaring AMP responders away from

2012-05-16 Thread Laurens Van Houtven
Hi, I'm writing a service that exposes a bunch of methods over AMP. These methods are easily logically grouped into separate modules (i.e. message-related, picture-related…). So, I'd like to define the behavior for those methods in those modules. However, the amp.Command.responder decorator on