Changes between and of Initial VersionVersion 1Ticket #5015


Ignore:
Timestamp:
04/03/2011 10:29:42 AM (3 years ago)
Author:
exarkun
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5015 – Description

    initial v1  
    88Instead, to remove the need to have support in the reactor, it would be nice to have an API like this: 
    99 
     10{{{ 
     11#!python 
    1012    class SomeProtocol(Protocol): 
    1113        def dataReceived(self, bytes): 
     
    1618                # Perhaps also... 
    1719                self.transport.handshake() 
     20}}} 
    1821 
    1922The details might differ, but importantly an API like this can be implemented entirely outside the reactor, except for the new `switchProtocol` method (proposed already in #3204).