Kamaelia docs : Kamaelia.File.MaxSpeedFileReader.MaxSpeedFileReader

Kamaelia.File.MaxSpeedFileReader.MaxSpeedFileReader

For examples and more explanations, see the module level docs.


class MaxSpeedFileReader(Axon.Component.component)

MaxSpeedFileReader(filename[,chunksize]) -> new MaxSpeedFileReader component.

Reads the contents of a file in bytes mode; sending it out as fast as it can in chunks from the "outbox" outbox. The rate of reading is only limited by any size limit of the destination inbox to which the data is being sent.

Keyword arguments:

  • filename -- The filename of the file to read
  • chunksize -- Optional. The maximum number of bytes in each chunk of data read from the file and sent out of the "outbox" outbox (default=32768)

Feedback

Got a problem with the documentation? Something unclear that could be clearer? Want to help improve it? Constructive criticism is very welcome - especially if you can suggest a better rewording!

Please leave you feedback here in reply to the documentation thread in the Kamaelia blog.

-- Automatic documentation generator, 19 Oct 2008 at 14:29:09 UTC/GMT

This is a page from the Kamaelia website. You can find the original here: