import java.rmi.*;
import java.awt.*;
import java.util.*;

/** 
Cette classe constitue l'interface de l'objet Puissance4.
* Elle definit les squelettes des methodes qui peuvent etre appelees
* par le client.
@author Sebastien BISMUTH 
@author Yann LENNE
@version 1.1.6
*/

public interface Puissance4Distant extends Remote{
  public Dimension getDim() throws RemoteException;
  public char[][] getTab() throws RemoteException;
  public char getJoueurGagnant() throws RemoteException;
  public Point getPionAjoute() throws RemoteException;
  public char getDernierJoueur() throws RemoteException;
  public Point[] getCasesGagnantes() throws RemoteException;
  public boolean getRecommencer() throws RemoteException;
  public boolean getQuitter() throws RemoteException;
  public String getPseudoJoueur(char numJoueur) throws RemoteException;
  public Vector getNomsJoueurs() throws RemoteException;
  public int getNbJoueurs() throws RemoteException;

  public void setRecommencer(boolean b) throws RemoteException;
  public void setQuitter(boolean b) throws RemoteException;

  public boolean matchNul() throws RemoteException;
  public boolean ajouterPion(char noJoueur, int colonne) throws RemoteException;
  public char ajouterJoueur(String pseudo) throws RemoteException;
  public char prochainJoueur() throws RemoteException;
  public void initPartie() throws RemoteException;
  public boolean connexionTotale() throws RemoteException;
  
}



