Interface DamierDistant
import java.rmi.*;
/** <B>Cahier des charges :</B>
*
* <p>Interface permettant aux clients de communiquer avec le serveur..
*
* @author Guillaume BLANC
* @author Cyrille FLAMBART
* @version JDK 1.1.6
* @see Client
* @see Damier
*
*
*/
//****************************Interface DamierDistant**********************
public interface DamierDistant extends Remote {
public int ajouterClient(ClientDistant client) throws RemoteException;
public void redessinerClients(ClientDistant client) throws RemoteException;
public void annulerDeplacement() throws RemoteException;
public void nouvellePartie() throws RemoteException;
public void deconnecterClients(ClientDistant client) throws RemoteException;
public void gagne(int type) throws RemoteException;
}//Fin de l'interface DamierDistant