Multi-hop REQ/REP, part I., tracerouting switched on on XREP socket

This commit is contained in:
Martin Sustrik
2010-02-12 15:57:54 +01:00
parent 7b4cf2a4d0
commit 36a576370c
12 changed files with 75 additions and 25 deletions

View File

@@ -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;
};
}