Uses of Class
common.interfaces.exceptions.UserBlockedException

Packages that use UserBlockedException
common.interfaces   
messageServerP   
 

Uses of UserBlockedException in common.interfaces
 

Methods in common.interfaces that throw UserBlockedException
 void MSForServletInterface.addToFriends(User user, java.lang.String pw, User userToAdd)
          Used by a servlet to tell the message server to add another user in his contact list as friend.
 void MSForServletInterface.blockContact(User user, java.lang.String pw, User userToBlock)
          Marks userToBlock in the user's contact list as blocked, so that no more messages from that user are accepted.
 void MSForServletInterface.changePassword(User user, java.lang.String oldPw, java.lang.String newPw)
          Changes the user password.
 void MSForServletInterface.deleteDownloadedMsgs(User user, java.lang.String pw)
          Deletes the messages that are already downloaded by a User.
 java.util.Vector<Message> MSForServletInterface.downloadMsgs(User user, java.lang.String pw)
          Downloads the messages stored in the Message server for a user.
 ContactList MSForServletInterface.getContactList(User user, java.lang.String pw)
          Returns user list of contacts.
 User MSForServletInterface.getUserContact(User user)
          Gets a User IP address and TCP port to directely connect to its servlet.
 void MSForServletInterface.removeContact(User user, java.lang.String pw, User userToRemove)
          Removes userToRemove from user's contact list, so that no more messages from that user are accepted.
 void MSForServletInterface.setState(User user, java.lang.String pw, boolean state)
          Sets a user state.
 

Uses of UserBlockedException in messageServerP
 

Methods in messageServerP that throw UserBlockedException
 void Communication.addToFriends(User user, java.lang.String userPw, User userToAdd)
           
 void Communication.blockContact(User user, java.lang.String pw, User userToBlock)
           
 void Communication.changePassword(User user, java.lang.String oldPw, java.lang.String newPw)
           
 void Communication.deleteDownloadedMsgs(User user, java.lang.String pw)
           
 java.util.Vector<Message> Communication.downloadMsgs(User user, java.lang.String pw)
           
 ContactList Communication.getContactList(User user, java.lang.String pw)
           
 User Communication.getUserContact(User user)
           
 void Communication.removeContact(User user, java.lang.String pw, User userToRemove)
           
 void Communication.setState(User user, java.lang.String pw, boolean state)