diff --git a/bin/implementacoes/CandidatoImpl.class b/bin/implementacoes/CandidatoImpl.class index 58d933d..7c3b0e5 100644 Binary files a/bin/implementacoes/CandidatoImpl.class and b/bin/implementacoes/CandidatoImpl.class differ diff --git a/bin/interfaces/CandidatoInterface.class b/bin/interfaces/CandidatoInterface.class index eabe2db..a842502 100644 Binary files a/bin/interfaces/CandidatoInterface.class and b/bin/interfaces/CandidatoInterface.class differ diff --git a/bin/interfaces/VotacaoInterface.class b/bin/interfaces/VotacaoInterface.class index 67429c6..50c6cb7 100644 Binary files a/bin/interfaces/VotacaoInterface.class and b/bin/interfaces/VotacaoInterface.class differ diff --git a/src/Cliente.java b/src/Cliente.java index 31663cd..6c79d8d 100644 --- a/src/Cliente.java +++ b/src/Cliente.java @@ -10,7 +10,7 @@ public class Cliente { static int porta = 8898; public static void main(String[] args) throws Exception { - String objName = "//localhost:" + porta + "/server"; + String objName = "//127.0.0.1:" + porta + "/server"; VotacaoInterface votacao = (VotacaoInterface) Naming.lookup(objName); List candidatos = votacao.listarCandidatos(); diff --git a/src/ServidorApuracao.java b/src/ServidorApuracao.java index c8b8ba7..eca165b 100644 --- a/src/ServidorApuracao.java +++ b/src/ServidorApuracao.java @@ -4,9 +4,7 @@ import java.util.List; import implementacoes.ApuracaoImpl; import implementacoes.CandidatoImpl; -import implementacoes.VotacaoImpl; import interfaces.ApuracaoInterface; -import interfaces.VotacaoInterface; public class ServidorApuracao {