asyncio doc: move AbstractServer to the event loop page

Add also entries in the table of content for each synchronization primitive
class.
This commit is contained in:
Victor Stinner 2014-01-24 18:11:43 +01:00
parent c3bf14d1eb
commit 8c462c5a80
3 changed files with 43 additions and 16 deletions

View file

@ -415,22 +415,6 @@ coroutine with ``yield from``. For example, the :meth:`StreamWriter.drain`
coroutine can be used to wait until the write buffer is flushed.
Server
------
.. class:: AbstractServer
Abstract server returned by :func:`BaseEventLoop.create_server`.
.. method:: close()
Stop serving. This leaves existing connections open.
.. method:: wait_closed()
Coroutine to wait until service is closed.
Protocol example: TCP echo server and client
============================================