OpenHiva::Publisher
OpenHiva::Publisher is created by invoking OpenHiva::Node::CreatePublisher, which returns an initialized OpenHiva::Publisher object.
OpenHiva::Publisher functions as the publishing end. Some interfaces and member variables are defined as follows:
1 2 3 4 5 6 7 | namespace OpenHiva { class Publisher { public: uint32_t Publish(const HivaMessage &message); // HivaMessage interface. The HivaBuffer is published through the BufferMessage. bool Ready() const; // Check whether Publisher is valid. If Publisher is invalid, an error code is returned when the Publish interface is invoked. }; } |
Parent topic: OpenHiva FAQs