summaryrefslogtreecommitdiff
path: root/src/i_engine.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-02-12 15:57:54 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-02-12 15:57:54 +0100
commit36a576370ccfed3c104850b5b95a6ed3870edbea (patch)
treedbe228c0a27b7f75cc47a5b46da09f965e3ec5d3 /src/i_engine.hpp
parent7b4cf2a4d040057f6f378cac2cd125513a859c1b (diff)
Multi-hop REQ/REP, part I., tracerouting switched on on XREP socket
Diffstat (limited to 'src/i_engine.hpp')
-rw-r--r--src/i_engine.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/i_engine.hpp b/src/i_engine.hpp
index d5d7811..bcb4297 100644
--- a/src/i_engine.hpp
+++ b/src/i_engine.hpp
@@ -20,6 +20,8 @@
#ifndef __ZMQ_I_ENGINE_HPP_INCLUDED__
#define __ZMQ_I_ENGINE_HPP_INCLUDED__
+#include <stddef.h>
+
namespace zmq
{
@@ -36,6 +38,12 @@ namespace zmq
// This method is called by the session to signalise that there
// are messages to send available.
virtual void revive () = 0;
+
+ // Start tracing the message route. Engine should add the identity
+ // supplied to all inbound messages and trim identity from all the
+ // outbound messages.
+ virtual void traceroute (unsigned char *identity_,
+ size_t identity_size_) = 0;
};
}