summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/protocols.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2015-01-30 06:02:17 (GMT)
committerRaymond Hettinger <python@rcn.com>2015-01-30 06:02:17 (GMT)
commit91496a08d4cb0b185fed53692cd9f36c76de9725 (patch)
treefd54565fa983af81617e85c276a92ca768a79240 /Lib/asyncio/protocols.py
parentc5644126a2906c61bb40cc6d3186060c358de734 (diff)
parent6ef0285aec5bd4c6252d975dceeac1201bcc181d (diff)
downloadcpython-91496a08d4cb0b185fed53692cd9f36c76de9725.zip
cpython-91496a08d4cb0b185fed53692cd9f36c76de9725.tar.gz
cpython-91496a08d4cb0b185fed53692cd9f36c76de9725.tar.bz2
merge
Diffstat (limited to 'Lib/asyncio/protocols.py')
-rw-r--r--Lib/asyncio/protocols.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/asyncio/protocols.py b/Lib/asyncio/protocols.py
index 52fc25c..80fcac9 100644
--- a/Lib/asyncio/protocols.py
+++ b/Lib/asyncio/protocols.py
@@ -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):