summaryrefslogtreecommitdiff
path: root/devices
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-06-04 15:24:06 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-06-04 15:24:06 +0200
commit67ca7dcbe6b072b74a112ce4df4529cda82c0f13 (patch)
tree8837e75fa23a902fe3b00a8f18aa1b80637394a4 /devices
parentd844a90690af357988b1c5ba027c740d4182d753 (diff)
obsolete API elements removed - this commit breaks backward compatibility
Diffstat (limited to 'devices')
-rw-r--r--devices/zmq_forwarder/zmq_forwarder.cpp2
-rw-r--r--devices/zmq_queue/zmq_queue.cpp2
-rw-r--r--devices/zmq_streamer/zmq_streamer.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/devices/zmq_forwarder/zmq_forwarder.cpp b/devices/zmq_forwarder/zmq_forwarder.cpp
index 496c3f6..96c9ae5 100644
--- a/devices/zmq_forwarder/zmq_forwarder.cpp
+++ b/devices/zmq_forwarder/zmq_forwarder.cpp
@@ -52,7 +52,7 @@ int main (int argc, char *argv [])
}
// TODO: make the number of I/O threads configurable.
- zmq::context_t ctx (1, 1);
+ zmq::context_t ctx (1);
zmq::socket_t in_socket (ctx, ZMQ_SUB);
in_socket.setsockopt (ZMQ_SUBSCRIBE, "", 0);
zmq::socket_t out_socket (ctx, ZMQ_PUB);
diff --git a/devices/zmq_queue/zmq_queue.cpp b/devices/zmq_queue/zmq_queue.cpp
index 1507ecc..3a20620 100644
--- a/devices/zmq_queue/zmq_queue.cpp
+++ b/devices/zmq_queue/zmq_queue.cpp
@@ -52,7 +52,7 @@ int main (int argc, char *argv [])
}
// TODO: make the number of I/O threads configurable.
- zmq::context_t ctx (1, 1, ZMQ_POLL);
+ zmq::context_t ctx (1);
zmq::socket_t in_socket (ctx, ZMQ_XREP);
zmq::socket_t out_socket (ctx, ZMQ_XREQ);
diff --git a/devices/zmq_streamer/zmq_streamer.cpp b/devices/zmq_streamer/zmq_streamer.cpp
index 7f4e8a5..f9dcd00 100644
--- a/devices/zmq_streamer/zmq_streamer.cpp
+++ b/devices/zmq_streamer/zmq_streamer.cpp
@@ -52,7 +52,7 @@ int main (int argc, char *argv [])
}
// TODO: make the number of I/O threads configurable.
- zmq::context_t ctx (1, 1);
+ zmq::context_t ctx (1);
zmq::socket_t in_socket (ctx, ZMQ_UPSTREAM);
zmq::socket_t out_socket (ctx, ZMQ_DOWNSTREAM);