[Python-ideas] The async API of the future: Reactors

Laurens Van Houtven _ at lvh.cc
Mon Oct 15 18:04:09 CEST 2012


On Mon, Oct 15, 2012 at 5:56 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> Twisted's IProtocol API is pretty simple:
> - makeConnection
> - connectionMade
> - dataReceived
> - connectionLost
>
> Everything else is up to the individual protocols (including whether
> or not they offer a "write" method)
>

While I agree with everything else you're saying, write may be a bad
example: it's generally something on the *transport*, and it's an interface
method (ie always available) there.


>
> Cheers,
> Nick.
>

-- 
cheers
lvh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20121015/bea950a9/attachment.html>


More information about the Python-ideas mailing list