com.antiaction.mayhem.mail
Class IMAPServiceManager

java.lang.Object
  extended by com.antiaction.mayhem.mail.IMAPServiceManager
All Implemented Interfaces:
IIMAPServiceManager

public class IMAPServiceManager
extends java.lang.Object
implements IIMAPServiceManager

Author:
Nicholas To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Constructor Summary
IMAPServiceManager(StorageManager storageManager)
           
 
Method Summary
 IIMAPAccount imap_getAccount(java.lang.String user, java.lang.String domain)
          Returns an account if one exists for the given user name and domain.
 IIMAPStorage imap_getStorage(IIMAPAccount account)
          Returns interface to pop3 storage for a given user account.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IMAPServiceManager

public IMAPServiceManager(StorageManager storageManager)
Method Detail

imap_getAccount

public IIMAPAccount imap_getAccount(java.lang.String user,
                                    java.lang.String domain)
Description copied from interface: IIMAPServiceManager
Returns an account if one exists for the given user name and domain.

Specified by:
imap_getAccount in interface IIMAPServiceManager
Parameters:
user - POP3 login name.
domain - POP3 domain.
Returns:
Account if the user exists.

imap_getStorage

public IIMAPStorage imap_getStorage(IIMAPAccount account)
Description copied from interface: IIMAPServiceManager
Returns interface to pop3 storage for a given user account.

Specified by:
imap_getStorage in interface IIMAPServiceManager
Parameters:
account - pop3 user account.
Returns:
storage interface.


Copyright © 2001-2004 Nicholas Clarke. All Rights Reserved.