summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-08-17 14:07:34 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-08-17 14:07:34 +0200
commit131f2e309668d1e64cfcb4aeb869665d8018bcfe (patch)
tree8208d4bd7bc2d21a24831566fbc8480676d80e78 /src
parent059beca59d39d90a8ee0e1b07f840994962ea89e (diff)
subscribe API removed
Diffstat (limited to 'src')
-rw-r--r--src/socket_base.cpp5
-rw-r--r--src/socket_base.hpp1
-rw-r--r--src/zmq.cpp5
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_));