Go to the latest version of this document.

# ``twisted`.`internet`.`interfaces`.`IReadWriteDescriptor``

interface documentation

`class IReadWriteDescriptor(IReadDescriptor, IWriteDescriptor): (source)`

Known implementations: `twisted.internet.abstract.FileDescriptor`

View In Hierarchy

An `IFileDescriptor` that can both read and write.

Inherited from `IReadDescriptor`:

Method | `doRead` | Some data is available for reading on your descriptor.

Inherited from `IWriteDescriptor` (via `IReadDescriptor`):

Method | `doWrite` | Some data can be written to your descriptor.

Inherited from `IFileDescriptor` (via `IReadDescriptor`, `IWriteDescriptor`):

Method | `connectionLost` | Called when the connection was lost.
Method | `fileno` | No summary

Inherited from `ILoggingContext` (via `IReadDescriptor`, `IWriteDescriptor`, `IFileDescriptor`):

Method | `logPrefix` | No summary