6 #ifndef ZEROEQ_RECEIVER_H 7 #define ZEROEQ_RECEIVER_H 10 #include <zeroeq/types.h> 56 ZEROEQ_API
explicit Receiver(Receiver& shared);
59 ZEROEQ_API
virtual ~Receiver();
74 friend class detail::Receiver;
77 virtual void addSockets(std::vector<detail::Socket>& entries) = 0;
85 virtual void process(detail::Socket& socket, uint32_t timeout) = 0;
99 ZEROEQ_API
virtual void addConnection(
const std::string& uri);
100 friend class connection::detail::Broker;
102 void* getZMQContext();
105 Receiver& operator=(
const Receiver&) =
delete;
107 std::shared_ptr<detail::Receiver>
const _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 classes for typed events.
virtual void update()
Update the internal connection list.