[Twisted-Python] Plugin Example - review appreciated

Thorne, Stephen stephen at thorne.id.au
Fri Jun 24 13:51:17 EDT 2011


On Fri, Jun 24, 2011 at 19:29,  <exarkun at 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.



More information about the Twisted-Python mailing list