5 const std::string & _brokerEndpoint,
6 const std::string & _serviceName,
7 const std::string & _thisHostName):
8 RocServer(_ctx, _brokerEndpoint, _serviceName),
9 thisHostName(_thisHostName) {
17 Json::Value InfoServer::getattr(
const std::string & name) {
18 if(name ==
"dataPublishEndpoint") {
19 return SSTR(
"tcp://", thisHostName,
":6666");
std::string SSTR(Args &&...components)
Creates a temporary string stream for string concatenation.
InfoServer(zmq::context_t &_ctx, const std::string &_brokerEndpoint, const std::string &_serviceName, const std::string &_thisHostName)