From e49115224a7957b0e5d49326bc02ae6af186eaf9 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 15 Dec 2009 09:09:19 +0100 Subject: zmq_encoder/decoder are able to add/trim prefixes from messages; fair queueing and load balancing algorithms factorised into separate classes --- src/xrep.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/xrep.hpp') diff --git a/src/xrep.hpp b/src/xrep.hpp index de42036..66cb611 100644 --- a/src/xrep.hpp +++ b/src/xrep.hpp @@ -21,7 +21,7 @@ #define __ZMQ_XREP_HPP_INCLUDED__ #include "socket_base.hpp" -#include "yarray.hpp" +#include "fq.hpp" namespace zmq { @@ -48,6 +48,9 @@ namespace zmq private: + // Inbound messages are fair-queued. + fq_t fq; + xrep_t (const xrep_t&); void operator = (const xrep_t&); }; -- cgit v1.2.3