t.m.m._MaildirNameGenerator : class documentation

Part of twisted.mail.maildir View Source View In Hierarchy

Utility class to generate a unique maildir name
Instance Variables_clockAn IReactorTime provider which will be used to learn the current time to include in names returned by generate so that they sort properly.
Method __init__ Undocumented
Method generate Return a string which is intended to unique across all calls to this function (across all processes, reboots, etc).
def __init__(self, clock): (source)
Undocumented
def generate(self): (source)

Return a string which is intended to unique across all calls to this function (across all processes, reboots, etc).

Strings returned by earlier calls to this method will compare less than strings returned by later calls as long as the clock provided doesn't go backwards.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.