[Twisted-Python] Factory question
Gabriel Rossetti
mailing_lists at evotex.ch
Wed Feb 27 01:32:01 MST 2008
Hello everyone,
I have a small question, I have a service which needs to sometimes send
data (without having received any prior to sending) and sometimes
receive data, which is better :
1) create a factory that inherits from ServerFactory and ClientFactory,
thus it can listen and send data
2) create a factory that inherits from ServerFactory only and uses a
single-use client (ClientCreator, as shown in the writing clients howto)
when it needs to send data
Thank you!
Gabriel
More information about the Twisted-Python
mailing list