twisted.internet.posixbase._PollLikeMixin(object)
class documentationtwisted.internet.posixbase
(View In Hierarchy)
Known subclasses: twisted.internet._glibbase.GlibReactorBase, twisted.internet.epollreactor.EPollReactor, twisted.internet.pollreactor.PollReactor, twisted.internet.posixbase._ContinuousPolling
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. |