Part of twisted.internet._pollingfile View Source View In Hierarchy
Implements interfaces: twisted.internet.interfaces.IConsumer
Method | __init__ | Undocumented |
Method | close | Undocumented |
Method | bufferFull | Undocumented |
Method | bufferEmpty | Undocumented |
Method | registerProducer | Register to receive data from a producer. |
Method | unregisterProducer | Stop consuming data from a producer, without disconnecting. |
Method | writeConnectionLost | Undocumented |
Method | writeSequence | Undocumented |
Method | write | The producer will write data by calling this method. |
Method | checkWork | Undocumented |
Inherited from _PollableResource:
Method | activate | Undocumented |
Method | deactivate | Undocumented |
Register to receive data from a producer.
This sets this selectable to be a consumer for a producer. When this selectable runs out of data on a write() call, it will ask the producer to resumeProducing(). A producer should implement the IProducer interface.
FileDescriptor provides some infrastructure for producer methods.