diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-02-12 15:57:54 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-02-12 15:57:54 +0100 |
commit | 36a576370ccfed3c104850b5b95a6ed3870edbea (patch) | |
tree | dbe228c0a27b7f75cc47a5b46da09f965e3ec5d3 /src/i_engine.hpp | |
parent | 7b4cf2a4d040057f6f378cac2cd125513a859c1b (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.hpp | 8 |
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; }; } |