mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 05:58:45 +01:00
ROUTER and DEALER sockets removed
To be replaced by new generic socket type Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
@@ -59,8 +59,6 @@
|
||||
#include "xrep.hpp"
|
||||
#include "xpub.hpp"
|
||||
#include "xsub.hpp"
|
||||
#include "router.hpp"
|
||||
#include "dealer.hpp"
|
||||
|
||||
bool zmq::socket_base_t::check_tag ()
|
||||
{
|
||||
@@ -106,12 +104,6 @@ zmq::socket_base_t *zmq::socket_base_t::create (int type_, class ctx_t *parent_,
|
||||
case ZMQ_XSUB:
|
||||
s = new (std::nothrow) xsub_t (parent_, tid_);
|
||||
break;
|
||||
case ZMQ_ROUTER:
|
||||
s = new (std::nothrow) router_t (parent_, tid_);
|
||||
break;
|
||||
case ZMQ_DEALER:
|
||||
s = new (std::nothrow) dealer_t (parent_, tid_);
|
||||
break;
|
||||
default:
|
||||
errno = EINVAL;
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user