creato rmi counter. verifica blanda di errori di input
This commit is contained in:
15
rmi_counter/CounterInterface.java
Normal file
15
rmi_counter/CounterInterface.java
Normal 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;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user