Commit 8b59bd62 authored by Jonathan Sudibya's avatar Jonathan Sudibya
Browse files

house keeping

parent f67864e1
......@@ -3,4 +3,4 @@ do.depend=false
do.jar=true
javac.debug=true
javadoc.preview=true
user.properties.file=C:\\Users\\Kevin Zhong\\AppData\\Roaming\\NetBeans\\8.0.2\\build.properties
user.properties.file=C:\\Users\\Jonathan\\AppData\\Roaming\\NetBeans\\8.0.2\\build.properties
......@@ -3,11 +3,7 @@
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<<<<<<< HEAD
<file>file:/C:/Users/Kevin%20Zhong/Documents/NetBeansProjects/Coba/src/client/TCPClient/src/TCPClient.java</file>
=======
<file>file:/C:/Users/Jonathan/Documents/NetBeansProjects/GrandQuest/src/client/TCPClient/src/TCPClient.java</file>
>>>>>>> origin/JSON-connect
</group>
</open-files>
</project-private>
compile.on.save=true
user.properties.file=C:\\Users\\Kevin Zhong\\AppData\\Roaming\\NetBeans\\8.0.2\\build.properties
user.properties.file=C:\\Users\\Jonathan\\AppData\\Roaming\\NetBeans\\8.0.2\\build.properties
......@@ -3,7 +3,10 @@
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<file>file:/C:/Users/Kevin%20Zhong/Documents/NetBeansProjects/Coba/src/server/TCPServer/src/crudDB/crudDB.java</file>
<file>file:/C:/Users/Jonathan/Documents/NetBeansProjects/GrandQuest/src/server/TCPServer/src/Controller/ConnectionHandler.java</file>
<file>file:/C:/Users/Jonathan/Documents/NetBeansProjects/GrandQuest/src/server/TCPServer/src/TCPServer.java</file>
<file>file:/C:/Users/Jonathan/Documents/NetBeansProjects/GrandQuest/src/server/TCPServer/src/Method/crudDB.java</file>
<file>file:/C:/Users/Jonathan/Documents/NetBeansProjects/GrandQuest/src/server/TCPServer/src/Model/Client.java</file>
</group>
</open-files>
</project-private>
package Controller;
import Model.Client;
import java.io.IOException;
import java.net.ServerSocket;
import java.util.Vector;
......
......@@ -3,7 +3,7 @@
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package crudDB;
package Method;
import java.io.File;
import java.io.FileReader;
......
package Model;
import java.io.BufferedReader;
import java.io.DataOutputStream;
......@@ -21,7 +23,7 @@ import org.json.simple.parser.ParseException;
*
* @author Jonathan
*/
class Client implements Runnable {
public class Client implements Runnable {
private int ID;
private String threadName;
private Socket connectionSocket;
......
......@@ -8,6 +8,7 @@
*
* @author Jonathan
*/
import Controller.ConnectionHandler;
import java.io.*;
import java.net.*;
import org.json.simple.JSONObject;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment