17 Feb
2005
17 Feb
'05
10:51 p.m.
On Thu, 17 Feb 2005 01:05:22 +0000, Phil Mayers
def connect(self): f = pb.PBClientFactory() reactor.connectTCP(host, port, f) f.getRootObject().addCallbacks(self.connect_ok, self.connect_fail)
Maybe I should do it the way you do here and not create the client factory until I need it rather than at the start of my application. How costly is it to create the client factories each time? Dave Cook