interface documentation

class twisted.internet.interfaces.IWriteDescriptor(IFileDescriptor): (source)

Known subclasses: twisted.internet.interfaces.IReadWriteDescriptor

View In Hierarchy

An IFileDescriptor that can write.

This interface is generally used in conjunction with IReactorFDSet.

Method doWrite Some data can be written to your descriptor.

Inherited from IFileDescriptor:

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

Inherited from ILoggingContext (via IFileDescriptor):

Method logPrefix
def doWrite(): (source)

Some data can be written to your descriptor.

ReturnsIf an error is encountered which causes the descriptor to no longer be valid, a Failure should be returned. Otherwise, None. (type: Optional[Failure])
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.