Known subclasses: twisted.internet._glibbase.GlibReactorBase, twisted.internet.epollreactor._ContinuousPolling, twisted.internet.epollreactor.EPollReactor, twisted.internet.pollreactor.PollReactor

Mixin for poll-like reactors.

Subclasses must define the following attributes:

 - _POLL_DISCONNECTED - Bitmask for events indicating a connection was
   lost.
 - _POLL_IN - Bitmask for events indicating there is input to read.
 - _POLL_OUT - Bitmask for events indicating output can be written.

Must be mixed in to a subclass of PosixReactorBase (for _disconnectSelectable).

Method _doReadOrWrite fd is available for read or write, do the work and raise errors if necessary.
def _doReadOrWrite(self, selectable, fd, event): (source)

fd is available for read or write, do the work and raise errors if necessary.

API Documentation for Twisted, generated by pydoctor at 2016-04-04 15:02:49.