Class ServerAccountManager

java.lang.Object
  |
  +--ServerAccountManager

public class ServerAccountManager
extends java.lang.Object


Constructor Summary
ServerAccountManager()
          Creates new ServerAccountManager
REQUIRES:
MODIFIES:
EFFECTS:
 
Method Summary
static UserAccountServerSide createAccount(java.util.Vector Accounts)
          Creates new UserAccount by collecting necessary information from the user (i.o.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerAccountManager

public ServerAccountManager()
Creates new ServerAccountManager
REQUIRES:
MODIFIES:
EFFECTS:
Method Detail

createAccount

public static UserAccountServerSide createAccount(java.util.Vector Accounts)
Creates new UserAccount by collecting necessary information from the user (i.o. username, password, message quota) and upon this information user ID is being assigned
Parameters:
Vector - Accounts collection
Returns:
UserAccountServerSide User account with message collector
REQUIRES:
MODIFIES: System.out
EFFECTS: Returns the UserAccountServerSide object