interface documentation

class IFinishableConsumer(interfaces.IConsumer): (source)

Known implementations: twisted.protocols.ftp.SenderProtocol

View In Hierarchy

A Consumer for producers that finish.

Present Since
11.0
Method finish The producer has finished producing.

Inherited from IConsumer:

Method registerProducer Register to receive data from a producer.
Method unregisterProducer Stop consuming data from a producer, without disconnecting.
Method write The producer will write data by calling this method.
def finish(): (source)

The producer has finished producing.