class documentation

class twisted.internet.tcp._FileDescriptorReservation: (source)

Implements interfaces: twisted.internet.tcp._IFileDescriptorReservation

View In Hierarchy

_IFileDescriptorReservation implementation.

Instance Variable fileFactory A factory that will be called to reserve a file descriptor.
Method available See _IFileDescriptorReservation.available.
Method reserve See _IFileDescriptorReservation.reserve.
Method __enter__ See _IFileDescriptorReservation.__enter__.
Method __exit__ See _IFileDescriptorReservation.__exit__.
Class Variable _log Undocumented
Class Variable _fileFactory Undocumented
Instance Variable _fileDescriptor Undocumented
fileFactory = (source)
A factory that will be called to reserve a file descriptor.
(type: A callable that accepts no arguments and returns an object with a close method.)
_log = (source)

Undocumented

_fileFactory = (source)

Undocumented

_fileDescriptor = (source)

Undocumented

def available(self): (source)

See _IFileDescriptorReservation.available.

ReturnsTrue if the reserved file descriptor is open and can thus be closed to allow a new file to be opened in its place; False if it is not open.
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.