class documentation

class twisted.spread.util.StringPager(Pager): (source)

View In Hierarchy

A simple pager that splits a string into chunks.

Method __init__ Create a pager with a Reference to a remote collector and an optional callable to invoke upon completion.
Instance Variable string Undocumented
Instance Variable pointer Undocumented
Instance Variable chunkSize Undocumented
Method nextPage Override this to return an object to be sent to my collector.

Inherited from Pager:

Instance Variable callback Undocumented
Instance Variable callbackArgs Undocumented
Instance Variable callbackKeyword Undocumented
Instance Variable collector Undocumented
Method stillPaging (internal) Method called by Broker.
Method sendNextPage (internal) Method called by Broker.
Method stopPaging Call this when you're done paging.
Instance Variable _stillPaging Undocumented
def __init__(self, collector, st, chunkSize=8192, callback=None, *args, **kw): (source)

Create a pager with a Reference to a remote collector and an optional callable to invoke upon completion.

string = (source)

Undocumented

pointer = (source)

Undocumented

(type: int)
chunkSize = (source)

Undocumented

def nextPage(self): (source)

Override this to return an object to be sent to my collector.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.