diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/socket_base.cpp | 5 | ||||
-rw-r--r-- | src/socket_base.hpp | 1 | ||||
-rw-r--r-- | src/zmq.cpp | 5 |
3 files changed, 0 insertions, 11 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp index 4fadad2..9701f65 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -147,11 +147,6 @@ int zmq::socket_base_t::connect (const char *addr_) return 0; } -int zmq::socket_base_t::subscribe (const char *criteria_) -{ - zmq_assert (false); -} - int zmq::socket_base_t::send (struct zmq_msg *msg_, int flags_) { zmq_assert (false); diff --git a/src/socket_base.hpp b/src/socket_base.hpp index 4ccac48..e96cc2d 100644 --- a/src/socket_base.hpp +++ b/src/socket_base.hpp @@ -41,7 +41,6 @@ namespace zmq virtual int setsockopt (int option_, void *optval_, size_t optvallen_); virtual int bind (const char *addr_); virtual int connect (const char *addr_); - virtual int subscribe (const char *criteria_); virtual int send (struct zmq_msg *msg_, int flags_); virtual int flush (); virtual int recv (struct zmq_msg *msg_, int flags_); diff --git a/src/zmq.cpp b/src/zmq.cpp index cca2a01..7ebe003 100644 --- a/src/zmq.cpp +++ b/src/zmq.cpp @@ -208,11 +208,6 @@ int zmq_connect (void *s_, const char *addr_) return (((zmq::socket_base_t*) s_)->connect (addr_)); } -int zmq_subscribe (void *s_, const char *criteria_) -{ - return (((zmq::socket_base_t*) s_)->subscribe (criteria_)); -} - int zmq_send (void *s_, zmq_msg *msg_, int flags_) { return (((zmq::socket_base_t*) s_)->send (msg_, flags_)); |