[Twisted-Python] understanding IConsumer

Glyph Lefkowitz glyph at twistedmatrix.com
Wed Sep 9 12:40:14 MDT 2015

> On Sep 8, 2015, at 11:24 PM, Roshan Cherian <cherian.rosh at gmail.com <mailto:cherian.rosh at gmail.com>> wrote:
> I understand there is https://twistedmatrix.com/documents/15.4.0/core/howto/producers.html <https://twistedmatrix.com/documents/15.4.0/core/howto/producers.html>, however I was hoping if there is an example of a simple consumer which could be written using the data from dataReceived (that is assuming whatever I understood above is correct). I didn't find enough information on how to create a consumer.

What do you mean by "create a consumer"?  You already have an IConsumer created for you: your transport.  Do you want to implement your own?  For what reason?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20150909/b4c26b02/attachment-0002.html>

More information about the Twisted-Python mailing list