34 lines
969 B
Java
34 lines
969 B
Java
/*
|
|
* To change this template, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
/**
|
|
*
|
|
* @author Smea
|
|
*/
|
|
public interface NOEUD extends java.rmi.Remote {
|
|
|
|
public NOEUD ConnectSuivant() throws java.rmi.RemoteException;
|
|
|
|
public NOEUD GetTonSuivant() throws java.rmi.RemoteException;
|
|
|
|
public String GetInfo() throws java.rmi.RemoteException;
|
|
|
|
public void SetTonSuivant(NOEUD n) throws java.rmi.RemoteException;
|
|
|
|
public void CloseSite(NOEUD n) throws java.rmi.RemoteException;
|
|
|
|
public void Numerote(int n) throws java.rmi.RemoteException;
|
|
|
|
public void KillSite(int n) throws java.rmi.RemoteException;
|
|
|
|
public void Election(int capaciteInit,
|
|
int capaciteGagnante,
|
|
int siteGagnant,
|
|
int siteInitiateur) throws java.rmi.RemoteException;
|
|
|
|
public void ProclamationElection(int siteGagnant, int siteInitiateur) throws java.rmi.RemoteException;
|
|
|
|
}
|