summaryrefslogtreecommitdiff
path: root/src/pub.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pub.cpp')
-rw-r--r--src/pub.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pub.cpp b/src/pub.cpp
index 8558265..4787c32 100644
--- a/src/pub.cpp
+++ b/src/pub.cpp
@@ -30,3 +30,16 @@ zmq::pub_t::pub_t (class ctx_t *parent_, uint32_t tid_) :
zmq::pub_t::~pub_t ()
{
}
+
+int zmq::pub_t::xrecv (class msg_t *msg_, int flags_)
+{
+ // Messages cannot be received from PUB socket.
+ errno = ENOTSUP;
+ return -1;
+}
+
+bool zmq::pub_t::xhas_in ()
+{
+ return false;
+}
+