class documentation

class DummyDomain: (source)

View In Hierarchy

A virtual domain for a POP3 server.

Method __init__ Undocumented
Method addMessage Add a message to the mailbox of the named user.
Method addUser Create a mailbox for a new user.
Method authenticateUserAPOP Succeed with a ListMailbox.
Instance Variable users Undocumented
def __init__(self): (source)

Undocumented

def addMessage(self, name, message): (source)

Add a message to the mailbox of the named user.

Parameters
nameThe username.
messageThe contents of the message.
def addUser(self, name): (source)

Create a mailbox for a new user.

Parameters
nameThe username.
def authenticateUserAPOP(self, name, digest, magic, domain): (source)

Succeed with a ListMailbox.

Parameters
nameThe name of the user authenticating.
digestignored
magicignored
domainignored
Returns
A three-tuple like the one returned by IRealm.requestAvatar. The mailbox will be for the user given by name.

Undocumented