12 Oct
2007
12 Oct
'07
8:49 p.m.
On 10/12/07, Simon Pickles <sipickles@hotmail.com> wrote:
Twisted is event driven.
So how do I send Data through a client? All the example demonstrate is how to receive events.
I don't know what you mean by "through", but whether you mean "to" or "from" the answer is the same: transport.write. ('transport' will be an attribute of your Protocol instances).
I suppose what I am asking is how do I refer to a client protocol from another class?
This is really just a basic program structuring question, and not really related to Twisted. -- Christopher Armstrong International Man of Twistery http://radix.twistedmatrix.com/ http://twistedmatrix.com/ http://canonical.com/