creato rmi counter. verifica blanda di errori di input

This commit is contained in:
2014-11-17 00:46:26 +01:00
parent bc03a1f378
commit f17671da1c
11 changed files with 259 additions and 8 deletions

View File

@@ -0,0 +1,15 @@
package rmi_counter;
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
* Created by Giovanni on 16/11/2014.
*/
public interface CounterInterface extends Remote{
int getvalue (String from) throws RemoteException;
int sum (String from, int value) throws RemoteException;
}