Removed everything having to do with ServerData class.
This commit is contained in:
parent
129f1235f8
commit
9683312262
@ -14,7 +14,6 @@ import java.util.*;
|
|||||||
public class Server implements Runnable {
|
public class Server implements Runnable {
|
||||||
private String version = "v1.0";
|
private String version = "v1.0";
|
||||||
private ArrayList<ServerThread> clients = new ArrayList<ServerThread>();
|
private ArrayList<ServerThread> clients = new ArrayList<ServerThread>();
|
||||||
private ServerData data = null;
|
|
||||||
private ServerSocket sSocket = null;
|
private ServerSocket sSocket = null;
|
||||||
private Thread thread = null;
|
private Thread thread = null;
|
||||||
private int clientCount = 0;
|
private int clientCount = 0;
|
||||||
@ -64,8 +63,6 @@ public class Server implements Runnable {
|
|||||||
thread = new Thread(this);
|
thread = new Thread(this);
|
||||||
thread.start();
|
thread.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
data = new ServerData(this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Stop the server thread and all other threads
|
// Stop the server thread and all other threads
|
||||||
|
Loading…
Reference in New Issue
Block a user