rice.email.proxy.mailbox.postbox
Class PostMailboxManager
java.lang.Object
rice.email.proxy.mailbox.postbox.PostMailboxManager
-
All Implemented Interfaces:
- MailboxManager
-
public class PostMailboxManager
- extends java.lang.Object
- implements MailboxManager
This class serves as the main "glue" code between foedus and
the POST-based email implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostMailboxManager
public PostMailboxManager(EmailService email,
Folder folder,
Environment env)
throws MailboxException
- Constructs a PostMailbox given an emailservice
to run off of.
- Parameters:
-
email
- The email service on the local pastry node.
-
Throws:
MailboxException
getMailboxType
public java.lang.String getMailboxType()
-
- Specified by:
-
getMailboxType
in interface MailboxManager
-
getMailbox
public Mailbox getMailbox(java.lang.String username)
throws NoSuchMailboxException
-
- Specified by:
-
getMailbox
in interface MailboxManager
-
-
Throws:
NoSuchMailboxException
createMailbox
public void createMailbox(java.lang.String username)
throws MailboxException
-
- Specified by:
-
createMailbox
in interface MailboxManager
-
-
Throws:
MailboxException
destroyMailbox
public void destroyMailbox(java.lang.String username)
throws MailboxException
-
- Specified by:
-
destroyMailbox
in interface MailboxManager
-
-
Throws:
MailboxException
Copyright © 2001-2005 - Rice Pastry.