XREP & XREQ socket types added; zmq_queue device added

This commit is contained in:
Martin Sustrik
2009-12-13 14:45:23 +01:00
parent c43aded531
commit fa6bf24d80
20 changed files with 490 additions and 18 deletions

View File

@@ -45,6 +45,8 @@
#include "sub.hpp"
#include "req.hpp"
#include "rep.hpp"
#include "xreq.hpp"
#include "xrep.hpp"
#include "upstream.hpp"
#include "downstream.hpp"
@@ -175,6 +177,12 @@ zmq::socket_base_t *zmq::app_thread_t::create_socket (int type_)
case ZMQ_REP:
s = new rep_t (this);
break;
case ZMQ_XREQ:
s = new xreq_t (this);
break;
case ZMQ_XREP:
s = new xrep_t (this);
break;
case ZMQ_UPSTREAM:
s = new upstream_t (this);
break;