twisted.internet.posixbaseView Source (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.|
fd is available for read or write, do the work and raise errors if necessary.