6 #ifndef ZEROEQ_RECEIVER_H 7 #define ZEROEQ_RECEIVER_H 10 #include <zeroeq/types.h> 52 ZEROEQ_API
explicit Receiver(Receiver& shared);
54 ZEROEQ_API
virtual ~Receiver();
55 ZEROEQ_API Receiver(Receiver&&);
56 ZEROEQ_API Receiver& operator=(Receiver&&);
72 virtual void addSockets(std::vector<detail::Socket>& entries) = 0;
81 virtual bool process(detail::Socket& socket) = 0;
96 ZEROEQ_API
virtual void addConnection(
const std::string& uri);
97 friend class connection::detail::Broker;
100 Receiver& operator=(
const Receiver&) =
delete;
103 std::shared_ptr<Impl> _impl;
Defines export visibility macros for library ZeroEQ.
static const uint32_t TIMEOUT_INDEFINITE
Constant defining 'wait forever' in methods with wait parameters.
Base class for entities receiving data.
Publish-subscribe and request-reply.
virtual void update()
Update the internal connection list.