[Twisted-Python] Help With Twisted as a Client (newbie warning)
itamar at itamarst.org
Thu Feb 17 13:49:18 EST 2005
On Thu, 2005-02-17 at 11:25 -0500, Steve Milner wrote:
> factory.clients = 
> sslFactory = ClientContextFactory()
> application = service.Application("xmlclient")
> reactor.connectSSL("__example__.com", 1026, factory, sslFactory)
> Is there a way I can access xmlxlient inside application?
The application object is not used for that (and certainly can't be used
if it doesn't have a reference to the factory, it doesn't magically get
one). Hand a reference to the factory to whichever objects wishes to
control the instance.
More information about the Twisted-Python