linking fd to pipe identity via socket option

This commit is contained in:
Stoian Ivanov
2014-04-30 16:34:55 +03:00
parent e37c206211
commit fe3e8c5c70
10 changed files with 57 additions and 4 deletions

View File

@@ -47,6 +47,7 @@ namespace zmq
// Overrides of functions from socket_base_t.
void xattach_pipe (zmq::pipe_t *pipe_, bool subscribe_to_all_);
int xsetsockopt (int option_, const void *optval_, size_t optvallen_);
int xgetsockopt (int option_, const void *optval_, size_t *optvallen_);
int xsend (zmq::msg_t *msg_);
int xrecv (zmq::msg_t *msg_);
bool xhas_in ();
@@ -54,7 +55,6 @@ namespace zmq
void xread_activated (zmq::pipe_t *pipe_);
void xwrite_activated (zmq::pipe_t *pipe_);
void xpipe_terminated (zmq::pipe_t *pipe_);
protected:
// Rollback any message parts that were sent but not yet flushed.