summaryrefslogtreecommitdiff
path: root/same/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'same/src/main/java/com')
-rw-r--r--same/src/main/java/com/orbekk/same/SameController.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/same/src/main/java/com/orbekk/same/SameController.java b/same/src/main/java/com/orbekk/same/SameController.java
index 9b8abde..b75de96 100644
--- a/same/src/main/java/com/orbekk/same/SameController.java
+++ b/same/src/main/java/com/orbekk/same/SameController.java
@@ -32,7 +32,8 @@ public class SameController implements UrlReceiver {
broadcaster);
JsonRpcServer jsonMaster = new JsonRpcServer(master, MasterService.class);
ClientServiceImpl client = new ClientServiceImpl(state, connections);
- JsonRpcServer jsonClient = new JsonRpcServer(client, ClientService.class);
+ JsonRpcServer jsonClient = new JsonRpcServer(client.getService(),
+ ClientService.class);
PaxosServiceImpl paxos = new PaxosServiceImpl("");
JsonRpcServer jsonPaxos = new JsonRpcServer(paxos, PaxosService.class);