summaryrefslogtreecommitdiff
path: root/src/load_balancer.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-08-03 11:30:13 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-08-03 11:30:13 +0200
commitcc3755a16f00026af882ed14d122cc8aa6d50e82 (patch)
tree33a2197bab1bd6068dbfcc446fe70aaa07808fa9 /src/load_balancer.hpp
parent183b6887644ac05c951a3f9143248ed86e91052f (diff)
renamed from zs to zmq
Diffstat (limited to 'src/load_balancer.hpp')
-rw-r--r--src/load_balancer.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/load_balancer.hpp b/src/load_balancer.hpp
index 9cdc68f..953ed3b 100644
--- a/src/load_balancer.hpp
+++ b/src/load_balancer.hpp
@@ -17,14 +17,14 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __ZS_LOAD_BALANCER_HPP_INCLUDED__
-#define __ZS_LOAD_BALANCER_HPP_INCLUDED__
+#ifndef __ZMQ_LOAD_BALANCER_HPP_INCLUDED__
+#define __ZMQ_LOAD_BALANCER_HPP_INCLUDED__
#include <vector>
#include <i_demux.hpp>
-namespace zs
+namespace zmq
{
// Object to distribute messages to outbound pipes.
@@ -42,7 +42,7 @@ namespace zs
void attach_pipe (class pipe_writer_t *pipe_);
void detach_pipe (class pipe_writer_t *pipe_);
bool empty ();
- bool send (struct zs_msg *msg_);
+ bool send (struct zmq_msg *msg_);
void flush ();
private:
@@ -55,7 +55,7 @@ namespace zs
// Writes the message to the pipe if possible. If it isn't, writes
// a gap notification to the pipe.
- void write_to_pipe (class pipe_writer_t *pipe_, struct zs_msg *msg_);
+ void write_to_pipe (class pipe_writer_t *pipe_, struct zmq_msg *msg_);
// The list of outbound pipes.
typedef std::vector <class pipe_writer_t*> pipes_t;