-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDTO.java
More file actions
58 lines (48 loc) · 1.03 KB
/
DTO.java
File metadata and controls
58 lines (48 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package Data;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.PrintWriter;
import java.io.Serializable;
import java.net.Socket;
import java.net.UnknownHostException;
public class DTO implements Serializable {
private String name = null;
private int size = 0;
private String category = null;
private int RPS;
/* Get RPS from user */
public int getRPS() {
return RPS;
}
/* Setting RPS */
public void setRPS(int RPS) {
this.RPS = RPS;
}
/* Setting Name */
public void setName(String name) {
this.name = name;
}
/* getting Name */
public String getName() {
return name;
}
/* Getting bingo size */
public int getSize() {
return size;
}
/* Setting bingo size */
public void setSize(int size) {
this.size = size;
}
/* Getting category */
public String getCate() {
return category;
}
/* Setting category */
public void setCate(String category) {
this.category = category;
}
}