t.i.i.IFileDescriptorReceiver(Interface) : interface documentation

Part of twisted.internet.interfaces View Source View In Hierarchy

Known implementations: twisted.protocols.amp._DescriptorExchanger

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 at 2013-11-08 22:07:30.