Commit e624295d authored by David Wilson's avatar David Wilson

Document channel class

parent c4d9f124
......@@ -314,8 +314,16 @@ Sender Class
Channel Class
-------------
.. autoclass:: mitogen.core.Channel
:members:
.. class:: mitogen.core.Channel (router, context, dst_handle, handle=None)
A channel inherits from :py:class:`mitogen.core.Sender` and
`mitogen.core.Receiver` to provide bidirectional functionality.
Since all handles aren't known until after both ends are constructed, for
both ends to communicate through a channel, it is necessary for one end to
retrieve the handle allocated to the other and reconfigure its own channel
to match. Currently this is a manual task.
Utility Functions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment