[Twisted-Python] Sending Data via a client
p.mayers at imperial.ac.uk
Mon Oct 15 07:40:12 EDT 2007
On Fri, 2007-10-12 at 20:16 +0100, Simon Pickles wrote:
> Twisted is event driven.
> So how do I send Data through a client? All the example demonstrate is
> how to receive events.
> I suppose what I am asking is how do I refer to a client protocol from
> another class?
> My variable:
> loop = = gatewayClient().start()
> opens a reconnectingClientFactory, which opens a client protocol. How do
> i make that client protocol global enough to use from anywhere in my app?
That's a python question. It's nothing to do with Twisted.
More information about the Twisted-Python