Uses of Class
common.interfaces.exceptions.GenericErrorException

Packages that use GenericErrorException
bootstrapP   
common.interfaces   
messageServerP   
 

Uses of GenericErrorException in bootstrapP
 

Methods in bootstrapP that throw GenericErrorException
 void Communication.deleteUser(User user, java.lang.String pw)
           
 void SafeMSForBSInterface.moveUser(java.lang.String MSPw, User user, MessageServer ms)
           
 void Communication.register(java.lang.String nickCase, java.lang.String pw)
           
 

Uses of GenericErrorException in common.interfaces
 

Methods in common.interfaces that throw GenericErrorException
 void BSForServletInterface.deleteUser(User user, java.lang.String pw)
          Deletes an account of a user (this method is used by the user itself).
 void MSForServletInterface.forwardMessage(Message msg)
          Forwards a message.
 void MSForMSInterface.forwardMessage(Message msg)
          Forwards a message from a Message Server to this one.
 User MSForServletInterface.getUserContact(User user)
          Gets a User IP address and TCP port to directely connect to its servlet.
 void MSForBSInterface.moveUser(java.lang.String MSPw, User user, MessageServer ms)
          Moves a user assignation from the message server to the specified one.
 void BSForServletInterface.register(java.lang.String nick, java.lang.String pw)
          Creates an account for a new user.
 void MSForServletInterface.setState(User user, java.lang.String pw, boolean state)
          Sets a user state.
 

Uses of GenericErrorException in messageServerP
 

Methods in messageServerP that throw GenericErrorException
private static int Cache.addEmptyMS(MessageServer msToAdd)
          Creates an empty message server with no users assigned to.
private static void Cache.addToCache(User user, MessageServer ms)
          Updates the cache adding a new corrispondence between a user and the message server the user is located in.
 void SafeMSForMSInterface.forwardMessage(Message msg)
           
 void Communication.forwardMessage(Message msgRef)
           
static void Cache.forwardMsg(Message msg)
          Forwards a message to another Message Server (recipient must not be local).
static User Cache.getRemoteContact(User usr)
          Retrives informations about a gossip servlet connection (IP address and port) in order to let anyone contact him directely.
 User Communication.getUserContact(User user)
           
 void Communication.moveUser(java.lang.String MSPw, User user, MessageServer ms)
           
private static boolean Cache.refreshCache(User user)
          Refreshes the cache for a user whose message server is not right (or is not cached), sending a query to the Bootstrap Server.
static void Cache.remoteIsFriendOf(ManagedUser local, User remote)
          Checks if a remote user accepts a local user as a friend.
static void Cache.sendUser(ManagedUser user, MessageServer ms)
          Moves a given user (including its message queue and contact lists) from the local message to another. does not remove the user from the local ms.
 void Communication.setState(User user, java.lang.String pw, boolean state)