4 Jul
2007
4 Jul
'07
7:15 p.m.
On Wed, 04 Jul 2007 18:13:05 +0200, Markus Schiltknecht
Hi,
I have yet another question... a producer has to learn about it's consumer somehow, otherwise it would not know where to write it's data to.
But the proposed interface is exactly vice versa: the IConsumer interface
def associateProducerConsumer(prod, cons): prod.consumer = cons cons.registerProducer(prod, ISeekableProducer.providedBy(prod))
This question is also part of what I'm asking for here: http://twistedmatrix.com/pipermail/twisted-web/2007-July/003434.html I'd like some discussion and help and guidance too :).