diff options
Diffstat (limited to 'perf/java')
-rw-r--r-- | perf/java/local_lat.java | 2 | ||||
-rw-r--r-- | perf/java/local_thr.java | 2 | ||||
-rw-r--r-- | perf/java/remote_lat.java | 2 | ||||
-rw-r--r-- | perf/java/remote_thr.java | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/perf/java/local_lat.java b/perf/java/local_lat.java index e7583cc..873f636 100644 --- a/perf/java/local_lat.java +++ b/perf/java/local_lat.java @@ -33,7 +33,7 @@ class local_lat int messageSize = Integer.parseInt (args [1]); int roundtripCount = Integer.parseInt (args [2]); - org.zmq.Context ctx = new org.zmq.Context (1, 1); + org.zmq.Context ctx = new org.zmq.Context (1, 1, 0); org.zmq.Socket s = new org.zmq.Socket (ctx, org.zmq.Socket.REP); s.bind (bindTo); diff --git a/perf/java/local_thr.java b/perf/java/local_thr.java index 450aed5..2881a08 100644 --- a/perf/java/local_thr.java +++ b/perf/java/local_thr.java @@ -33,7 +33,7 @@ class local_thr long messageSize = Integer.parseInt (args [1]); long messageCount = Integer.parseInt (args [2]); - org.zmq.Context ctx = new org.zmq.Context (1, 1); + org.zmq.Context ctx = new org.zmq.Context (1, 1, 0); org.zmq.Socket s = new org.zmq.Socket (ctx, org.zmq.Socket.SUB); diff --git a/perf/java/remote_lat.java b/perf/java/remote_lat.java index 28b2f76..905b82c 100644 --- a/perf/java/remote_lat.java +++ b/perf/java/remote_lat.java @@ -33,7 +33,7 @@ class remote_lat int messageSize = Integer.parseInt (args [1]); int roundtripCount = Integer.parseInt (args [2]); - org.zmq.Context ctx = new org.zmq.Context (1, 1); + org.zmq.Context ctx = new org.zmq.Context (1, 1, 0); org.zmq.Socket s = new org.zmq.Socket (ctx, org.zmq.Socket.REQ); s.connect (connectTo); diff --git a/perf/java/remote_thr.java b/perf/java/remote_thr.java index 9182a8f..f696fc3 100644 --- a/perf/java/remote_thr.java +++ b/perf/java/remote_thr.java @@ -34,7 +34,7 @@ class remote_thr int messageSize = Integer.parseInt (args [1]); int messageCount = Integer.parseInt (args [2]); - org.zmq.Context ctx = new org.zmq.Context (1, 1); + org.zmq.Context ctx = new org.zmq.Context (1, 1, 0); org.zmq.Socket s = new org.zmq.Socket (ctx, org.zmq.Socket.PUB); |