Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(14)

Unified Diff: Doc/library/asynchat.rst

Issue 744: [issue1736190] asyncore/asynchat patches (Closed) SVN Base: http://svn.python.org/view/*checkout*/python/trunk/
Patch Set: Created 1 year, 7 months ago , Downloaded from: http://bugs.python.org/file10196/full_async_patch.patch
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side by-side-diff with in-line comments
Download patch
Index: Doc/library/asynchat.rst
===================================================================
--- Doc/library/asynchat.rst (revision 62704)
+++ Doc/library/asynchat.rst (working copy)
@@ -81,6 +81,12 @@
:exc:`NotImplementedError` exception.
+.. method:: async_chat._collect_incoming_data(data)
+
+ Sample implementation of a data collection rutine to be used in conjunction
+ with :meth:`_get_data` in a user-specified :meth:`found_terminator`.
+
+
.. method:: async_chat.discard_buffers()
In emergencies this method will discard any data held in the input and/or
@@ -95,6 +101,12 @@
should be available via an instance attribute.
+.. method:: async_chat._get_data()
+
+ Will return and clear the data received with the sample
+ :meth:`_collect_incoming_data` implementation.
+
+
.. method:: async_chat.get_terminator()
Returns the current terminator for the channel.
« no previous file | Doc/library/asyncore.rst » ('j')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r497