diff options
Diffstat (limited to 'src/rep.cpp')
-rw-r--r-- | src/rep.cpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/rep.cpp b/src/rep.cpp index 2fbb66c..d586988 100644 --- a/src/rep.cpp +++ b/src/rep.cpp @@ -24,28 +24,20 @@ #include "pipe.hpp" zmq::rep_t::rep_t (class app_thread_t *parent_) : - socket_base_t (parent_, ZMQ_REP), + socket_base_t (parent_), active (0), current (0), waiting_for_reply (false), reply_pipe (NULL) { + options.requires_in = true; + options.requires_out = true; } zmq::rep_t::~rep_t () { } -bool zmq::rep_t::xrequires_in () -{ - return true; -} - -bool zmq::rep_t::xrequires_out () -{ - return true; -} - void zmq::rep_t::xattach_pipes (class reader_t *inpipe_, class writer_t *outpipe_) { |