t.i.p._DisconnectSelectableMixin(object) : class documentation

Part of twisted.internet.posixbase View Source View In Hierarchy

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

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 at 2012-12-26 12:18:15.