summaryrefslogtreecommitdiff
path: root/src/xrep.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-12-15 09:09:19 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-12-15 09:09:19 +0100
commite49115224a7957b0e5d49326bc02ae6af186eaf9 (patch)
tree81d1ca0ea496004bbc85cec9b3289af96cdaa197 /src/xrep.hpp
parentbd792faa9d6c78c375dbc52c6d773e157335da36 (diff)
zmq_encoder/decoder are able to add/trim prefixes from messages; fair queueing and load balancing algorithms factorised into separate classes
Diffstat (limited to 'src/xrep.hpp')
-rw-r--r--src/xrep.hpp5
1 files changed, 4 insertions, 1 deletions
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&);
};