#include <InfoServer.h>
Public Member Functions | |
InfoServer (zmq::context_t &_ctx, const std::string &_brokerEndpoint, const std::string &_serviceName, const std::string &_thisHostName) | |
~InfoServer () | |
![]() | |
RocServer (zmq::context_t &_ctx, const std::string &_brokerEndpoint, const std::string &_serviceName) | |
virtual | ~RocServer () |
Additional Inherited Members | |
![]() | |
virtual void | startup () |
called in handler thread on startup More... | |
virtual void | teardown () |
called in handler thread on shutdown More... | |
virtual void | onRequest (std::list< zmq::message_t * > *envelope, std::list< zmq::message_t * > *data) |
The (not anymore) "to-be-overloaded" request handler. More... | |
virtual Json::Value | call (const std::string &name, const Json::Value &arguments) |
The "to-be-overloaded" call handler. More... | |
virtual void | setattr (const std::string &name, const Json::Value &value) |
The "to-be-overloaded" setattr handler. More... | |
void | reply (std::list< zmq::message_t * > *envelope, std::list< zmq::message_t * > *data=nullptr) |
void | replyValue (std::list< zmq::message_t * > *envelope, const Json::Value &value, const std::string &id="") |
void | replyError (std::list< zmq::message_t * > *envelope, int errorNo, const std::string &id="") |
![]() | |
zmq::context_t & | ctx |
Definition at line 6 of file InfoServer.h.
InfoServer::InfoServer | ( | zmq::context_t & | _ctx, |
const std::string & | _brokerEndpoint, | ||
const std::string & | _serviceName, | ||
const std::string & | _thisHostName | ||
) |
Definition at line 4 of file InfoServer.cpp.
InfoServer::~InfoServer | ( | ) |
Definition at line 13 of file InfoServer.cpp.