Skip to content
Snippets Groups Projects
Commit 7247a3f8 authored by Thea Olivia's avatar Thea Olivia
Browse files

added files

parents f1d2f44b 69b61004
Branches
No related merge requests found
...@@ -16,10 +16,7 @@ public class Server implements Runnable ...@@ -16,10 +16,7 @@ public class Server implements Runnable
{ {
private Paxos paxos; private Paxos paxos;
private String host;
private String host; private String host;
private int port; private int port;
private Socket socket; private Socket socket;
private final String DEFAULT_HOST = "localhost"; private final String DEFAULT_HOST = "localhost";
...@@ -123,6 +120,7 @@ public class Server implements Runnable ...@@ -123,6 +120,7 @@ public class Server implements Runnable
} }
} }
} }
public String receiveMessage() throws IOException{ public String receiveMessage() throws IOException{
String temp = null; String temp = null;
...@@ -139,5 +137,7 @@ public class Server implements Runnable ...@@ -139,5 +137,7 @@ public class Server implements Runnable
public void run() { public void run() {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
} }
} }
\ No newline at end of file
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