chat rmi server/client and peer2peer

This commit is contained in:
2014-12-10 01:49:28 +01:00
parent 4d3128b724
commit b01bc963c8
11 changed files with 394 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package rmi_chat;
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
* Created by Giovanni on 09/12/2014.
*/
public interface ChatInterface extends Remote{
void speak (Message m) throws RemoteException;
void register (ClientInterface c, String n) throws RemoteException;
void unregister (ClientInterface c, String n) throws RemoteException;
}