class documentation

class twisted.internet.posixbase._PollLikeMixin: (source)

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

View In Hierarchy

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 20.12.1 at 2021-02-28 19:53:36.