Document Protocol state machine
This commit is contained in:
@@ -78,6 +78,11 @@ class Protocol(BaseProtocol):
|
|||||||
State machine of calls:
|
State machine of calls:
|
||||||
|
|
||||||
start -> CM [-> DR*] [-> ER?] -> CL -> end
|
start -> CM [-> DR*] [-> ER?] -> CL -> end
|
||||||
|
|
||||||
|
* CM: connection_made()
|
||||||
|
* DR: data_received()
|
||||||
|
* ER: eof_received()
|
||||||
|
* CL: connection_lost()
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def data_received(self, data):
|
def data_received(self, data):
|
||||||
|
|||||||
Reference in New Issue
Block a user