Go to the latest version of this document.

# ``twisted`.`internet`.`interfaces`.`IHalfCloseableDescriptor``

interface documentation

`class IHalfCloseableDescriptor(Interface): (source)`

Known implementations: `twisted.internet._posixstdio.StandardIO`, `twisted.internet.abstract.FileDescriptor`, `twisted.internet.iocpreactor.abstract.FileHandle`

View In Hierarchy

A descriptor that can be half-closed.

Method | `readConnectionLost` | Indicates read connection was lost.
Method | `writeConnectionLost` | Indicates write connection was lost.

def readConnectionLost(reason: `Failure`): (source)

Indicates read connection was lost.

def writeConnectionLost(reason: `Failure`): (source)

Indicates write connection was lost.