Table of Contents

Class: SelectReactor | Twisted-0.19.0/twisted/internet/default.py
--- | ---
A select() based reactor - runs on all POSIX platforms and on Win32.
Base Classes |
--- | ---
PosixReactorBase ReactorBase
Methods |
--- | ---
_preenDescriptors addReader addWriter doSelect removeAll removeReader removeWriter
| _preenDescriptors
    _preenDescriptors ( self )
| addReader
    addReader ( self,  reader )
Add a FileDescriptor for notification of data available to read.
| addWriter
    addWriter ( self,  writer )
Add a FileDescriptor for notification of data available to write.
| doSelect
    doSelect (
            self,
            timeout,
            reads=reads,
            writes=writes,
            rhk=reads.has_key,
            whk=writes.has_key,
            )
### Run one iteration of the I/O monitor loop. This will run all selectables who had input or output readiness waiting for them.
| removeAll
    removeAll ( self )
Remove all readers and writers, and return list of Selectables.
| removeReader
    removeReader ( self,  reader )
Remove a Selectable for notification of data available to read.
| removeWriter
    removeWriter ( self,  writer )
Remove a Selectable for notification of data available to write.

Table of Contents

This document was automatically generated on Sun Jul 14 19:52:41 2002 by HappyDoc version 2.0