[Twisted-Python] Getting Rid of Application in a Compatible Way

Jonathan M. Lange jml at mumak.net
Sun May 25 05:27:07 MDT 2003


On Fri, May 23, 2003 at 07:02:47AM -0000, Moshe Zadka wrote:
Subject: Getting rid of Application
>
> I suggest to write ApplicationService classes which look like:
> class TCPListener(ApplicationService):
>   ...
> Now, instead of application.listenTCP we can use
> 
> TCPListener(8080, server.Site(resource), "foo").setServiceParent(application)
> 

Why do we want to get rid of Application?

jml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20030525/0b528b7b/attachment.sig>


More information about the Twisted-Python mailing list