class documentation
class _DisconnectSelectableMixin: (source)
Known subclasses: twisted.internet.posixbase.PosixReactorBase
, twisted.internet.posixbase._ContinuousPolling
Mixin providing the _disconnectSelectable method.
Method | _disconnect |
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().