[Twisted-Python] Sending Data via a client

Simon Pickles sipickles at hotmail.com
Fri Oct 12 15:16:18 EDT 2007

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?

The ironic thing is, its easy with sockets :)


More information about the Twisted-Python mailing list