mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 20:59:47 +01:00
adds server socket type and routing id to msg
This commit is contained in:
@@ -74,6 +74,10 @@ namespace zmq
|
||||
// Specifies the object to send events to.
|
||||
void set_event_sink (i_pipe_events *sink_);
|
||||
|
||||
// Pipe endpoint can store an routing ID to be used by its clients.
|
||||
void set_routing_id(uint32_t routing_id_);
|
||||
uint32_t get_routing_id();
|
||||
|
||||
// Pipe endpoint can store an opaque ID to be used by its clients.
|
||||
void set_identity (const blob_t &identity_);
|
||||
blob_t get_identity ();
|
||||
@@ -204,6 +208,9 @@ namespace zmq
|
||||
// Identity of the writer. Used uniquely by the reader side.
|
||||
blob_t identity;
|
||||
|
||||
// Identity of the writer. Used uniquely by the reader side.
|
||||
int routing_id;
|
||||
|
||||
// Pipe's credential.
|
||||
blob_t credential;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user