com.antiaction.mayhem.mail
Class POP3ServiceManager

java.lang.Object
  extended by com.antiaction.mayhem.mail.POP3ServiceManager
All Implemented Interfaces:
IPOP3ServiceManager

public class POP3ServiceManager
extends java.lang.Object
implements IPOP3ServiceManager

Account Manager.

Version:
1.00
Author:
Nicholas Clarke

Constructor Summary
POP3ServiceManager(StorageManager storageManager)
           
 
Method Summary
 IPOP3Account pop3_getAccount(java.lang.String user, java.lang.String domain)
          Returns an account if one exists for the given user name and domain.
 IPOP3Storage pop3_getStorage(IPOP3Account 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

POP3ServiceManager

public POP3ServiceManager(StorageManager storageManager)
Method Detail

pop3_getAccount

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

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

pop3_getStorage

public IPOP3Storage pop3_getStorage(IPOP3Account account)
Description copied from interface: IPOP3ServiceManager
Returns interface to pop3 storage for a given user account.

Specified by:
pop3_getStorage in interface IPOP3ServiceManager
Parameters:
account - pop3 user account.
Returns:
storage interface.


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