Table of Contents

Class: PollReactor | Twisted-0.19.0/twisted/internet/pollreactor.py
--- | ---
A reactor that uses poll(2).
Base Classes |
--- | ---
default.PosixReactorBase
Methods |
--- | ---
_updateRegisteration addReader addWriter doPoll removeAll removeReader removeWriter
| _updateRegisteration
    _updateRegisteration ( self,  fd )
Register/unregister an fd with the poller.
| addReader
    addReader ( self,  reader )
Add a FileDescriptor for notification of data available to read.
| addWriter
    addWriter (
            self,
            writer,
            writes=writes,
            selectables=selectables,
            )
Add a FileDescriptor for notification of data available to write.
| doPoll
    doPoll (
            self,
            timeout,
            reads=reads,
            writes=writes,
            selectables=selectables,
            select=select,
            log=log,
            POLLIN=select.POLLIN,
            POLLOUT=select.POLLOUT,
            )
Poll the poller for new events.
| removeAll
    removeAll ( self )
Remove all selectables, and return a list of them.
| removeReader
    removeReader ( self,  reader )
Remove a Selectable for notification of data available to read.
| removeWriter
    removeWriter (
            self,
            writer,
            writes=writes,
            )
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