diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-12-15 09:09:19 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-12-15 09:09:19 +0100 |
commit | e49115224a7957b0e5d49326bc02ae6af186eaf9 (patch) | |
tree | 81d1ca0ea496004bbc85cec9b3289af96cdaa197 /src/xreq.hpp | |
parent | bd792faa9d6c78c375dbc52c6d773e157335da36 (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/xreq.hpp')
-rw-r--r-- | src/xreq.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xreq.hpp b/src/xreq.hpp index 8d6a3b2..fdf8b0f 100644 --- a/src/xreq.hpp +++ b/src/xreq.hpp @@ -21,7 +21,8 @@ #define __ZMQ_XREQ_HPP_INCLUDED__ #include "socket_base.hpp" -#include "yarray.hpp" +#include "fq.hpp" +#include "lb.hpp" namespace zmq { @@ -48,6 +49,11 @@ namespace zmq private: + // Messages are fair-queued from inbound pipes. And load-balanced to + // the outbound pipes. + fq_t fq; + lb_t lb; + xreq_t (const xreq_t&); void operator = (const xreq_t&); }; |