[Twisted-Python] understanding IConsumer

David Stainton dstainton415 at gmail.com
Thu Sep 3 05:28:03 MDT 2015


I'm not the best person to respond here but I think you should not
want or need to implement your own consumer... Twisted transports and
protocols are implemented using producers and consumers.

On Thu, Sep 3, 2015 at 3:08 AM, Roshan Cherian <cherian.rosh at gmail.com> wrote:
> Hi Team,
>
> I am sorry if this is coming off as a newbie question. Its probably because
> I don't understand it enough.
>
> I would like to:
>
> 1. connectTCP to a host, port
> 2. use the transport to write
> 3. Use consumer to read from the transport what the tcp server has written
> to
>
> I wasn't able to find information on consumer and how it gets triggered when
> data is available especially in the case I have
>
> Thanks,
> -Roshan
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>



More information about the Twisted-Python mailing list