From 50a8b9ea0c4a819073b46449dee8fc839b837ae5 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 20 Sep 2009 10:14:21 +0200 Subject: 'flags' parameter added to zmq_init --- perf/java/local_lat.java | 2 +- perf/java/local_thr.java | 2 +- perf/java/remote_lat.java | 2 +- perf/java/remote_thr.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'perf/java') 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); -- cgit v1.2.3