On 04/09/2013 06:29 AM, Laurens Van Houtven wrote:
> On Tue, Apr 9, 2013 at 5:58 AM, Phil Budne <p...@ultimate.com 
> <mailto:p...@ultimate.com>> wrote:
>
>     Yes, and I implemented the ITransport methods.
>
>     The first bump was that I was missing registerProducer and
>     unregisterProducer, which are defined as part of IConsumer.  But after
>     that I had another problem (which I can't reproduce at this moment).
>
>
> Huh. If the interface you're passing it to claims it needs an 
> ITransport, and an ITransport didn't work, that's a bug. The 
> consumer/producer interfaces are somewhat related to transports, but 
> definitely distinct.
I'm pretty sure the twisted.web server code uses the consumer API on the 
transport.


_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to