Go to the latest version of this document.

# ``twisted`.`spread`.`util``

module documentation
(source)

Utility classes for spread.

Class | `CallbackPageCollector` | I receive pages from the peer. You may instantiate a Pager with a remote reference to me. I will call the callback with a list of pages once they are all received.
Class | `FilePager` | Reads a file in chunks and sends the chunks as they come.
Class | `LocalAsRemote` | A class useful for emulating the effects of remote behavior locally.
Class | `LocalAsyncForwarder` | A class useful for forwarding a locally-defined interface.
Class | `LocalMethod` | Undocumented
Class | `Pager` | I am an object which pages out information.
Class | `StringPager` | A simple pager that splits a string into chunks.
Function | `getAllPages` | A utility method that will call a remote method which expects a PageCollector as the first argument.

def getAllPages(referenceable, methodName, *args, **kw): (source)

A utility method that will call a remote method which expects a PageCollector as the first argument.