Changes between and of Initial VersionVersion 1Ticket #5015
- Timestamp:
- 04/03/2011 12:29:42 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5015 – description
initial v1 8 8 Instead, to remove the need to have support in the reactor, it would be nice to have an API like this: 9 9 10 {{{ 11 #!python 10 12 class SomeProtocol(Protocol): 11 13 def dataReceived(self, bytes): … … 16 18 # Perhaps also... 17 19 self.transport.handshake() 20 }}} 18 21 19 22 The 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).
