6 #ifndef NANOSOCKETS_SOCKETS_ASYNC_REQUEST_SOCKET_HPP 7 #define NANOSOCKETS_SOCKETS_ASYNC_REQUEST_SOCKET_HPP 10 #include <core/parallel/mutex.hpp> 11 #include <core/parallel/pthread_tools.hpp> 12 #include <core/system/nanosockets/zmq_msg_vector.hpp> 13 #include <core/export.hpp> 72 int request_master(zmq_msg_vector& msgs,
82 void set_receive_poller(boost::function<
bool()>);
87 inline socket_data() { }
90 inline socket_data(
const socket_data& other) { }
92 inline void operator=(
const socket_data& other) { }
100 std::vector<size_t> available;
103 std::vector<socket_data> sockets;
105 boost::function<bool()> receive_poller;
108 int create_socket(
size_t i);