ePOST API

rice.email.proxy.mailbox.postbox
Class PostMailboxManager

java.lang.Object
  extended by 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.


Constructor Summary
PostMailboxManager(EmailService email, Folder folder, Environment env)
          Constructs a PostMailbox given an emailservice to run off of.
 
Method Summary
 void createMailbox(java.lang.String username)
           
 void destroyMailbox(java.lang.String username)
           
 Mailbox getMailbox(java.lang.String username)
           
 java.lang.String getMailboxType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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

ePOST API

Copyright © 2001-2005 - Rice Pastry.