interface documentation

class twisted.internet.interfaces.IFileDescriptorReceiver(Interface): (source)

Known implementations: twisted.protocols.amp._DescriptorExchanger

View In Hierarchy

Protocols may implement IFileDescriptorReceiver to receive file descriptors sent to them. This is useful in conjunction with IUNIXTransport, which allows file descriptors to be sent between processes on a single host.

Method fileDescriptorReceived Called when a file descriptor is received over the connection.
def fileDescriptorReceived(descriptor): (source)

Called when a file descriptor is received over the connection.

ParametersdescriptorThe descriptor which was received. (type: int)
ReturnsNone
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.