common.interfaces
Interface BSForMSInterface

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
Communication

public interface BSForMSInterface
extends java.rmi.Remote

This interface contains the methods that a Gossip Bootstrap Server exported object must provide to let a Gossip Message Server communicate with it.

Author:
Marco Cornolti and Alessandro Franchini

Method Summary
 MessageServer getMS(User user)
          Returns the message server of a user given by argument.
 

Method Detail

getMS

MessageServer getMS(User user)
                    throws java.rmi.RemoteException,
                           UserNotExistsException
Returns the message server of a user given by argument.

Parameters:
user - the user (only the nickname is considered).
Returns:
the user's message server.
Throws:
java.rmi.RemoteException - if a communication problem occurs.
UserNotExistsException - if the user does not exist.