Removido arquivos temporários
This commit is contained in:
10
src/interfaces/ApuracaoInterface.java
Normal file
10
src/interfaces/ApuracaoInterface.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package interfaces;
|
||||
|
||||
import java.rmi.Remote;
|
||||
import java.rmi.RemoteException;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public interface ApuracaoInterface extends Remote {
|
||||
public Map<Integer, Integer> calcularVotos(List<Integer> votos) throws RemoteException;
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
package interfaces;
|
||||
import java.rmi.Remote;
|
||||
import java.rmi.RemoteException;
|
||||
|
||||
public interface IsEvenInterface extends Remote {
|
||||
public boolean is_even(int x) throws RemoteException;
|
||||
}
|
||||
@@ -3,12 +3,16 @@ package interfaces;
|
||||
import java.rmi.Remote;
|
||||
import java.rmi.RemoteException;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import implementacoes.CandidatoImpl;
|
||||
import implementacoes.VotoImpl;
|
||||
|
||||
public interface VotacaoInterface extends Remote {
|
||||
public List<CandidatoImpl> listarCandidatos() throws RemoteException;
|
||||
public int salvarVoto(int posicao) throws RemoteException;
|
||||
public int buscarCandidato(String numero) throws RemoteException;
|
||||
public void apuracao() throws RemoteException;
|
||||
public List<VotoImpl> getVotos() throws RemoteException;
|
||||
public void mostrar_apuracao(Map<Integer, Integer> apuracao) throws RemoteException;
|
||||
}
|
||||
|
||||
10
src/interfaces/VotoInterface.java
Normal file
10
src/interfaces/VotoInterface.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package interfaces;
|
||||
|
||||
import java.rmi.RemoteException;
|
||||
|
||||
import implementacoes.CandidatoImpl;
|
||||
|
||||
public interface VotoInterface {
|
||||
public CandidatoImpl getCandidato() throws RemoteException;;
|
||||
public String getIdentificador() throws RemoteException;;
|
||||
}
|
||||
Reference in New Issue
Block a user