esame programmazione distribuita + readme

This commit is contained in:
2015-01-17 03:59:20 +01:00
parent cff4e01e21
commit c0ac42f3e9
9 changed files with 382 additions and 0 deletions

25
rmi_exam/ClientData.java Normal file
View File

@@ -0,0 +1,25 @@
package rmi_exam;
/**
* Created by Giovanni on 16/01/2015.
*/
public class ClientData {
public ClientData (String inname){
name = inname;
}
private boolean voto = false;
private boolean havotato = false;
private boolean blocked = false;
private String name;
public void setVoto(boolean invoto){voto=invoto;}
public void setHavotato(boolean invotato){havotato = invotato;}
public void setBlocked (boolean value) {blocked=value;}
public String getName(){return name;}
public boolean getvoto() {return voto;};
public boolean gethavotato(){return havotato;}
public boolean getblocked(){return blocked;}
}