adds server socket type and routing id to msg

This commit is contained in:
somdoron
2015-02-02 01:17:37 +02:00
parent 9826a7b19d
commit 5632b57b4a
13 changed files with 420 additions and 10 deletions

View File

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