t.v.a.f._FileToConsumerAdapter(object) : class documentation

Part of twisted.vfs.adapters.ftp View Source View In Hierarchy

Implements interfaces: twisted.internet.interfaces.IConsumer

An adapter for writing to a VFS file.
Method __init__
Method registerProducer Register the producer, and open original resource.
Method unregisterProducer Unregister producer and close original resource.
Method write Write data to the resource.
def __init__(self, original): (source)
Parametersoriginalthe vfs node. (type: ivfs.IFileSystemLeaf. )
def registerProducer(self, producer, streaming): (source)
Register the producer, and open original resource.
def unregisterProducer(self): (source)
Unregister producer and close original resource.
def write(self, bytes): (source)
Write data to the resource.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:07:41.