Add event notification support and rdci timestamps

Also:
* print header line every 50 line on output
* print events that are being listened for with header
* cpplint clean-up

Change-Id: Ic049eb79156a9528b556e56f0fa43e1344f898cc
このコミットが含まれているのは:
Chris Freehill
2020-11-11 14:41:27 -06:00
コミット b278cd379b
32個のファイルの変更766行の追加109行の削除
+4 -1
ファイルの表示
@@ -385,7 +385,10 @@ RdcAPIServiceImpl::~RdcAPIServiceImpl() {
} else if (value.type == DOUBLE) {
reply->set_dbl(value.value.dbl);
} else if (value.type == STRING || value.type == BLOB) {
reply->set_str(value.value.str);
std::string val_str(value.value.str);
size_t endpos = val_str.find_last_not_of(" ");
val_str[endpos + 1] = '\0';
reply->set_str(val_str);
}
return ::grpc::Status::OK;
-1
ファイルの表示
@@ -317,7 +317,6 @@ RDCServer::ShutDown(void) {
delete api_service_;
api_service_ = nullptr;
}
}
static void * ProcessSignalLoop(void *server_ptr) {