GODT-1753: implement reset [skip-ci]

This commit is contained in:
Romain LE JEUNE
2022-07-29 22:38:27 +02:00
committed by Jakub
parent 207ff70680
commit 3f189c430b
5 changed files with 22 additions and 1 deletions

View File

@ -388,6 +388,15 @@ grpc::Status GRPCClient::restart()
return stub_->Restart(&ctx, empty, &empty);
}
//****************************************************************************************************************************************************
/// \return The status for the gRPC call.
//****************************************************************************************************************************************************
grpc::Status GRPCClient::triggerReset()
{
grpc::ClientContext ctx;
return stub_->TriggerReset(&ctx, empty, &empty);
}
//****************************************************************************************************************************************************
/// \param[in] port The port to check.