class documentation

class _DisconnectSelectableMixin: (source)

Known subclasses: twisted.internet.posixbase._ContinuousPolling, twisted.internet.posixbase.PosixReactorBase

View In Hierarchy

Mixin providing the _disconnectSelectable method.

Method _disconnectSelectable Utility function for disconnecting a selectable.
def _disconnectSelectable(self, selectable, why, isRead, faildict={error.ConnectionDone: failure.Failure(error.ConnectionDone()), error. ConnectionLost: failure.Failure(error.ConnectionLost())}): (source)

Utility function for disconnecting a selectable.

Supports half-close notification, isRead should be boolean indicating whether error resulted from doRead().

API Documentation for Twisted, generated by pydoctor 21.2.0 at 2021-02-28 21:00:42.