Atualizado
This commit is contained in:
parent
ab2c9cec5b
commit
129315f7ba
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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<CandidatoImpl> candidatos = votacao.listarCandidatos();
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user