class documentation

class DummyDomain:

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):

Undocumented

def addMessage(self, name, message):

Add a message to the mailbox of the named user.

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

Create a mailbox for a new user.

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

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.
users: dict =

Undocumented