Removed everything having to do with ServerData class.

This commit is contained in:
Deathsbreed 2014-06-02 12:00:06 -05:00
parent 129f1235f8
commit 9683312262

View File

@ -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