mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 05:29:43 +01:00
Problem: term "identity" is confusing
Solution: replace by "routing id"
This commit is contained in:
12
src/pipe.hpp
12
src/pipe.hpp
@@ -85,12 +85,12 @@ namespace zmq
|
||||
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 ();
|
||||
void set_integral_routing_id (uint32_t routing_id_);
|
||||
uint32_t get_integral_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 ();
|
||||
void set_routing_id (const blob_t &identity_);
|
||||
blob_t get_routing_id ();
|
||||
|
||||
blob_t get_credential () const;
|
||||
|
||||
@@ -227,10 +227,10 @@ namespace zmq
|
||||
bool delay;
|
||||
|
||||
// Identity of the writer. Used uniquely by the reader side.
|
||||
blob_t identity;
|
||||
blob_t routing_id;
|
||||
|
||||
// Identity of the writer. Used uniquely by the reader side.
|
||||
int routing_id;
|
||||
int integral_routing_id;
|
||||
|
||||
// Pipe's credential.
|
||||
blob_t credential;
|
||||
|
||||
Reference in New Issue
Block a user