On Mon, Oct 15, 2012 at 5:56 PM, Nick Coghlan <ncoghlan@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