/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package socius.dispositivos; import com.healthmarketscience.rmiio.RemoteInputStream; import java.rmi.Remote; import java.rmi.RemoteException; import java.util.Date; import java.util.List; import java.util.Map; import socius.adapter.Arquivo; /** * * @author Ana */ public interface ServidorRemoto extends Remote { public List<ComputadorRemoto> getClientes() throws RemoteException; public Map<ComputadorRemoto, Date> getMapClientes() throws RemoteException; public void enviaManterOnline(ComputadorRemoto c) throws RemoteException; public RemoteInputStream iniciarTransferencia(ComputadorRemoto computador, Arquivo arquivo) throws RemoteException; public void disparaNotificacoes() throws RemoteException; public void desconectar(ComputadorRemoto computador) throws RemoteException; }