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

@@ -20,6 +20,8 @@
#ifndef __ZMQ_I_ENGINE_HPP_INCLUDED__
#define __ZMQ_I_ENGINE_HPP_INCLUDED__
#include "fd.hpp"
namespace zmq
{
@@ -47,7 +49,10 @@ namespace zmq
// are messages to send available.
virtual void restart_output () = 0;
virtual void zap_msg_available () = 0;
virtual void zap_msg_available () = 0;
// provide a way to link from engine to file descriptor
virtual fd_t get_assoc_fd () { return retired_fd;};
};
}