summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-10 22:35:22 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-10 22:35:22 +0100
commit5befe48a4cca6121cbce7f7fd5436cfc09f643f0 (patch)
tree66240831b1b5f12736347fb351fd2a16246db7de
parentfe4df9517382e0afe1146926280256ef614e643d (diff)
Actually start the SameState thread in the server.
-rw-r--r--jsonrpc/src/main/java/com/orbekk/rpc/App.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/jsonrpc/src/main/java/com/orbekk/rpc/App.java b/jsonrpc/src/main/java/com/orbekk/rpc/App.java
index 2162a59..2f956fe 100644
--- a/jsonrpc/src/main/java/com/orbekk/rpc/App.java
+++ b/jsonrpc/src/main/java/com/orbekk/rpc/App.java
@@ -16,6 +16,8 @@ public class App {
String networkName = args[1];
SameState sameState = new SameState(networkName);
+ sameState.start();
+
SameServiceImpl service = new SameServiceImpl(sameState);
JsonRpcServer jsonServer = new JsonRpcServer(service,
SameService.class);