Skip to content
Snippets Groups Projects
Commit 906fc8fa authored by pr1n19's avatar pr1n19
Browse files

Slight update to DStore

parent a721f734
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,19 @@ public class DStore {
fileFolder = args[3];
//TODO Make connection with controller & listen to send acknowledgments
try{
//Socket socket = new Socket(InetAddress.getLocalHost(),cPort);
//PrintWriter toController = new PrintWriter(socket.getOutputStream());
//Send "JOIN port" to controller
//New thread to listen for "LIST" on cport
//Reply with "LIST file_list" then go back to listening
}catch (Exception e){
System.out.println("error "+e);
}
//Create socket to listen for store, load & remove requests
try{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment