You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/docs/internals.rst

209 lines
3.0 KiB
ReStructuredText

7 years ago
Internal API Reference
**********************
.. toctree::
:hidden:
signals
7 years ago
Constants
=========
.. currentmodule:: mitogen.core
.. autodata:: CHUNK_SIZE
Pollers
=======
.. currentmodule:: mitogen.core
.. autoclass:: Poller
:members:
.. currentmodule:: mitogen.parent
.. autoclass:: KqueuePoller
.. currentmodule:: mitogen.parent
.. autoclass:: EpollPoller
.. currentmodule:: mitogen.parent
.. autoclass:: PollPoller
Latch
=====
.. currentmodule:: mitogen.core
.. autoclass:: Latch
:members:
PidfulStreamHandler
===================
.. currentmodule:: mitogen.core
.. autoclass:: PidfulStreamHandler
:members:
Side
====
7 years ago
.. currentmodule:: mitogen.core
.. autoclass:: Side
:members:
7 years ago
Stream
======
7 years ago
.. currentmodule:: mitogen.core
.. autoclass:: BasicStream
:members:
7 years ago
.. autoclass:: Stream
:members:
.. currentmodule:: mitogen.fork
.. autoclass:: Stream
7 years ago
:members:
.. currentmodule:: mitogen.parent
.. autoclass:: Stream
7 years ago
:members:
.. currentmodule:: mitogen.ssh
.. autoclass:: Stream
:members:
.. currentmodule:: mitogen.sudo
.. autoclass:: Stream
7 years ago
:members:
.. currentmodule:: mitogen.core
.. autoclass:: IoLogger
7 years ago
:members:
.. currentmodule:: mitogen.core
.. autoclass:: Waker
7 years ago
:members:
Importer
========
.. currentmodule:: mitogen.core
.. autoclass:: Importer
:members:
7 years ago
ModuleResponder
===============
.. currentmodule:: mitogen.master
.. autoclass:: ModuleResponder
:members:
RouteMonitor
============
.. currentmodule:: mitogen.parent
.. autoclass:: RouteMonitor
:members:
TimerList
=========
.. currentmodule:: mitogen.parent
.. autoclass:: TimerList
:members:
Timer
=====
.. currentmodule:: mitogen.parent
.. autoclass:: Timer
:members:
Forwarder
=========
.. currentmodule:: mitogen.parent
.. autoclass:: ModuleForwarder
:members:
ExternalContext
===============
7 years ago
.. currentmodule:: mitogen.core
.. autoclass:: ExternalContext
:members:
7 years ago
Process
=======
7 years ago
.. currentmodule:: mitogen.parent
.. autoclass:: Process
:members:
Helpers
=======
Blocking I/O
------------
These functions exist to support the blocking phase of setting up a new
context. They will eventually be replaced with asynchronous equivalents.
.. currentmodule:: mitogen.parent
.. autofunction:: discard_until
.. autofunction:: iter_read
.. autofunction:: write_all
Subprocess Functions
------------
.. currentmodule:: mitogen.parent
.. autofunction:: create_child
.. autofunction:: hybrid_tty_create_child
.. autofunction:: tty_create_child
7 years ago
Helpers
-------
7 years ago
.. currentmodule:: mitogen.core
.. autofunction:: to_text
.. autofunction:: has_parent_authority
.. autofunction:: set_cloexec
.. autofunction:: set_nonblock
.. autofunction:: set_block
.. autofunction:: io_op
.. currentmodule:: mitogen.parent
.. autofunction:: close_nonstandard_fds
.. autofunction:: create_socketpair
.. currentmodule:: mitogen.master
.. autofunction:: get_child_modules
.. currentmodule:: mitogen.minify
.. autofunction:: minimize_source
Signals
=======
:ref:`Please refer to Signals <signals>`.