Re: [Twisted-Python] db connections

2009-03-27 Thread Enrique Samson Jr.
On Wed, 2009-03-25 at 11:00 +0100, Pet wrote: > > Hi, > > > > thanks for example! > > In that way, I'm getting error: > > > > exceptions.AttributeError: MyProtocol instance has no attribute 'factory' > > > > How can MyProtocol access self.factory.dbcon? > > Ups! I didn't followed exactly your exam

Re: [Twisted-Python] how to create state machines?

2009-03-27 Thread Jean-Paul Calderone
On Thu, 26 Mar 2009 14:26:17 -0400, Doug Farrell wrote: Hi all, I'm still getting my 'sea legs' with Twisted, so this may be a novice question, but I'm wondering what would be a good way to create a state machine with Twisted? For instance I've written quite a bit of code in different language