[Twisted-Python] Problem with using mktap
Itamar Shtull-Trauring
itamar at itamarst.org
Tue Nov 16 11:57:49 MST 2004
On Tue, 2004-11-16 at 19:41 +0100, Roland Hedberg wrote:
> def makeService( config ):
> port = int(config["port"])
> routeServer = config["spocp"]
> nodename = config["name"]
>
> application = service.Application('UDSRouter') <-- DELETE
> f = spocpFactory()
> reactor.connectUNIX( routeServer, f )
> router = RudsProt( f,nodename)
> udpServer = internet.UDPServer( port, router )
> udpServer.setServiceParent(application) <-- DELETE
> return udpServer
Get rid of the lines creating an Application instance or using it in any
way.
More information about the Twisted-Python
mailing list