mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-04 20:31:03 +01:00
Multi-hop REQ/REP, part I., tracerouting switched on on XREP socket
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user