diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-29 14:14:07 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-29 14:14:07 +0100 |
commit | 8174c88d63d99764b803feeb4852db6c3be82994 (patch) | |
tree | c7202afb5278d34b4936571fe1372c23bc7356fe | |
parent | 801fb32b5fe761eda5152b332f6fd50d76bfde25 (diff) | |
download | trollius-8174c88d63d99764b803feeb4852db6c3be82994.tar.gz |
Document Protocol state machine
-rw-r--r-- | asyncio/protocols.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/asyncio/protocols.py b/asyncio/protocols.py index 52fc25c..80fcac9 100644 --- a/asyncio/protocols.py +++ b/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): |