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
このコミットが含まれているのは:
@@ -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;
|
||||
|
||||
@@ -317,7 +317,6 @@ RDCServer::ShutDown(void) {
|
||||
delete api_service_;
|
||||
api_service_ = nullptr;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static void * ProcessSignalLoop(void *server_ptr) {
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする