Document Protocol state machine

This commit is contained in:
Victor Stinner
2015-01-29 14:14:07 +01:00
parent 59fcee2f2d
commit 93a4cf4c5d

View File

@@ -78,6 +78,11 @@ class Protocol(BaseProtocol):
State machine of calls:
start -> CM [-> DR*] [-> ER?] -> CL -> end
* CM: connection_made()
* DR: data_received()
* ER: eof_received()
* CL: connection_lost()
"""
def data_received(self, data):