chat rmi server/client and peer2peer
This commit is contained in:
15
rmi_chat/ClientInterface.java
Normal file
15
rmi_chat/ClientInterface.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package rmi_chat;
|
||||
|
||||
import java.rmi.Remote;
|
||||
import java.rmi.RemoteException;
|
||||
|
||||
/**
|
||||
* Created by Giovanni on 09/12/2014.
|
||||
*/
|
||||
public interface ClientInterface extends Remote {
|
||||
|
||||
void spoken (Message m) throws RemoteException;
|
||||
void bye (String to) throws RemoteException;
|
||||
void welcome (String to) throws RemoteException;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user