On Fri, Jun 24, 2011 at 19:29,  <exar...@twistedmatrix.com> wrote:
>   class SetupClass(service.Service):
>       def __init__(self, reactor):
>           self._reactor = reactor
>
>       def startService(self):
>           self._startupCall = self._reactor.callLater(3, self.done)

Thanks Jean-Paul,

I've taken the first suggestion and put that into the example, and put
a test in too:

https://bitbucket.org/jerub/twisted-plugin-example/changeset/a3af1e55194a

Stephen Thorne.

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to