blob: 975b6842f1b2656f7104be37986101439e5513d8 [file] [log] [blame]
Andrea Campanellac795b7d2021-04-14 13:24:44 +02001// Generated by the gRPC C++ plugin.
2// If you make any local change, they will be lost.
3// source: dmi/sw_management_service.proto
4
5#include "dmi/sw_management_service.pb.h"
6#include "dmi/sw_management_service.grpc.pb.h"
7
Andrea Campanella03d4e7a2021-04-28 15:34:46 +02008#include <functional>
9#include <grpcpp/impl/codegen/async_stream.h>
10#include <grpcpp/impl/codegen/async_unary_call.h>
11#include <grpcpp/impl/codegen/channel_interface.h>
12#include <grpcpp/impl/codegen/client_unary_call.h>
13#include <grpcpp/impl/codegen/client_callback.h>
14#include <grpcpp/impl/codegen/message_allocator.h>
15#include <grpcpp/impl/codegen/method_handler.h>
16#include <grpcpp/impl/codegen/rpc_service_method.h>
17#include <grpcpp/impl/codegen/server_callback.h>
18#include <grpcpp/impl/codegen/server_callback_handlers.h>
19#include <grpcpp/impl/codegen/server_context.h>
20#include <grpcpp/impl/codegen/service_type.h>
21#include <grpcpp/impl/codegen/sync_stream.h>
Andrea Campanellac795b7d2021-04-14 13:24:44 +020022namespace dmi {
23
24static const char* NativeSoftwareManagementService_method_names[] = {
25 "/dmi.NativeSoftwareManagementService/GetSoftwareVersion",
26 "/dmi.NativeSoftwareManagementService/DownloadImage",
27 "/dmi.NativeSoftwareManagementService/ActivateImage",
28 "/dmi.NativeSoftwareManagementService/RevertToStandbyImage",
29 "/dmi.NativeSoftwareManagementService/UpdateStartupConfiguration",
30 "/dmi.NativeSoftwareManagementService/GetStartupConfigurationInfo",
31};
32
33std::unique_ptr< NativeSoftwareManagementService::Stub> NativeSoftwareManagementService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) {
Andrea Campanella03d4e7a2021-04-28 15:34:46 +020034 (void)options;
Andrea Campanellac795b7d2021-04-14 13:24:44 +020035 std::unique_ptr< NativeSoftwareManagementService::Stub> stub(new NativeSoftwareManagementService::Stub(channel));
36 return stub;
37}
38
39NativeSoftwareManagementService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel)
Andrea Campanella03d4e7a2021-04-28 15:34:46 +020040 : channel_(channel), rpcmethod_GetSoftwareVersion_(NativeSoftwareManagementService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
41 , rpcmethod_DownloadImage_(NativeSoftwareManagementService_method_names[1], ::grpc::internal::RpcMethod::SERVER_STREAMING, channel)
42 , rpcmethod_ActivateImage_(NativeSoftwareManagementService_method_names[2], ::grpc::internal::RpcMethod::SERVER_STREAMING, channel)
43 , rpcmethod_RevertToStandbyImage_(NativeSoftwareManagementService_method_names[3], ::grpc::internal::RpcMethod::SERVER_STREAMING, channel)
44 , rpcmethod_UpdateStartupConfiguration_(NativeSoftwareManagementService_method_names[4], ::grpc::internal::RpcMethod::SERVER_STREAMING, channel)
45 , rpcmethod_GetStartupConfigurationInfo_(NativeSoftwareManagementService_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, channel)
Andrea Campanellac795b7d2021-04-14 13:24:44 +020046 {}
47
48::grpc::Status NativeSoftwareManagementService::Stub::GetSoftwareVersion(::grpc::ClientContext* context, const ::dmi::HardwareID& request, ::dmi::GetSoftwareVersionInformationResponse* response) {
Andrea Campanella03d4e7a2021-04-28 15:34:46 +020049 return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetSoftwareVersion_, context, request, response);
50}
51
52void NativeSoftwareManagementService::Stub::experimental_async::GetSoftwareVersion(::grpc::ClientContext* context, const ::dmi::HardwareID* request, ::dmi::GetSoftwareVersionInformationResponse* response, std::function<void(::grpc::Status)> f) {
53 ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetSoftwareVersion_, context, request, response, std::move(f));
54}
55
56void NativeSoftwareManagementService::Stub::experimental_async::GetSoftwareVersion(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::dmi::GetSoftwareVersionInformationResponse* response, std::function<void(::grpc::Status)> f) {
57 ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetSoftwareVersion_, context, request, response, std::move(f));
58}
59
60void NativeSoftwareManagementService::Stub::experimental_async::GetSoftwareVersion(::grpc::ClientContext* context, const ::dmi::HardwareID* request, ::dmi::GetSoftwareVersionInformationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) {
61 ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetSoftwareVersion_, context, request, response, reactor);
62}
63
64void NativeSoftwareManagementService::Stub::experimental_async::GetSoftwareVersion(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::dmi::GetSoftwareVersionInformationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) {
65 ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetSoftwareVersion_, context, request, response, reactor);
Andrea Campanellac795b7d2021-04-14 13:24:44 +020066}
67
68::grpc::ClientAsyncResponseReader< ::dmi::GetSoftwareVersionInformationResponse>* NativeSoftwareManagementService::Stub::AsyncGetSoftwareVersionRaw(::grpc::ClientContext* context, const ::dmi::HardwareID& request, ::grpc::CompletionQueue* cq) {
Andrea Campanella03d4e7a2021-04-28 15:34:46 +020069 return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::dmi::GetSoftwareVersionInformationResponse>::Create(channel_.get(), cq, rpcmethod_GetSoftwareVersion_, context, request, true);
70}
71
72::grpc::ClientAsyncResponseReader< ::dmi::GetSoftwareVersionInformationResponse>* NativeSoftwareManagementService::Stub::PrepareAsyncGetSoftwareVersionRaw(::grpc::ClientContext* context, const ::dmi::HardwareID& request, ::grpc::CompletionQueue* cq) {
73 return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::dmi::GetSoftwareVersionInformationResponse>::Create(channel_.get(), cq, rpcmethod_GetSoftwareVersion_, context, request, false);
Andrea Campanellac795b7d2021-04-14 13:24:44 +020074}
75
76::grpc::ClientReader< ::dmi::ImageStatus>* NativeSoftwareManagementService::Stub::DownloadImageRaw(::grpc::ClientContext* context, const ::dmi::DownloadImageRequest& request) {
Andrea Campanella03d4e7a2021-04-28 15:34:46 +020077 return ::grpc_impl::internal::ClientReaderFactory< ::dmi::ImageStatus>::Create(channel_.get(), rpcmethod_DownloadImage_, context, request);
78}
79
80void NativeSoftwareManagementService::Stub::experimental_async::DownloadImage(::grpc::ClientContext* context, ::dmi::DownloadImageRequest* request, ::grpc::experimental::ClientReadReactor< ::dmi::ImageStatus>* reactor) {
81 ::grpc_impl::internal::ClientCallbackReaderFactory< ::dmi::ImageStatus>::Create(stub_->channel_.get(), stub_->rpcmethod_DownloadImage_, context, request, reactor);
Andrea Campanellac795b7d2021-04-14 13:24:44 +020082}
83
84::grpc::ClientAsyncReader< ::dmi::ImageStatus>* NativeSoftwareManagementService::Stub::AsyncDownloadImageRaw(::grpc::ClientContext* context, const ::dmi::DownloadImageRequest& request, ::grpc::CompletionQueue* cq, void* tag) {
Andrea Campanella03d4e7a2021-04-28 15:34:46 +020085 return ::grpc_impl::internal::ClientAsyncReaderFactory< ::dmi::ImageStatus>::Create(channel_.get(), cq, rpcmethod_DownloadImage_, context, request, true, tag);
86}
87
88::grpc::ClientAsyncReader< ::dmi::ImageStatus>* NativeSoftwareManagementService::Stub::PrepareAsyncDownloadImageRaw(::grpc::ClientContext* context, const ::dmi::DownloadImageRequest& request, ::grpc::CompletionQueue* cq) {
89 return ::grpc_impl::internal::ClientAsyncReaderFactory< ::dmi::ImageStatus>::Create(channel_.get(), cq, rpcmethod_DownloadImage_, context, request, false, nullptr);
Andrea Campanellac795b7d2021-04-14 13:24:44 +020090}
91
92::grpc::ClientReader< ::dmi::ImageStatus>* NativeSoftwareManagementService::Stub::ActivateImageRaw(::grpc::ClientContext* context, const ::dmi::HardwareID& request) {
Andrea Campanella03d4e7a2021-04-28 15:34:46 +020093 return ::grpc_impl::internal::ClientReaderFactory< ::dmi::ImageStatus>::Create(channel_.get(), rpcmethod_ActivateImage_, context, request);
94}
95
96void NativeSoftwareManagementService::Stub::experimental_async::ActivateImage(::grpc::ClientContext* context, ::dmi::HardwareID* request, ::grpc::experimental::ClientReadReactor< ::dmi::ImageStatus>* reactor) {
97 ::grpc_impl::internal::ClientCallbackReaderFactory< ::dmi::ImageStatus>::Create(stub_->channel_.get(), stub_->rpcmethod_ActivateImage_, context, request, reactor);
Andrea Campanellac795b7d2021-04-14 13:24:44 +020098}
99
100::grpc::ClientAsyncReader< ::dmi::ImageStatus>* NativeSoftwareManagementService::Stub::AsyncActivateImageRaw(::grpc::ClientContext* context, const ::dmi::HardwareID& request, ::grpc::CompletionQueue* cq, void* tag) {
Andrea Campanella03d4e7a2021-04-28 15:34:46 +0200101 return ::grpc_impl::internal::ClientAsyncReaderFactory< ::dmi::ImageStatus>::Create(channel_.get(), cq, rpcmethod_ActivateImage_, context, request, true, tag);
102}
103
104::grpc::ClientAsyncReader< ::dmi::ImageStatus>* NativeSoftwareManagementService::Stub::PrepareAsyncActivateImageRaw(::grpc::ClientContext* context, const ::dmi::HardwareID& request, ::grpc::CompletionQueue* cq) {
105 return ::grpc_impl::internal::ClientAsyncReaderFactory< ::dmi::ImageStatus>::Create(channel_.get(), cq, rpcmethod_ActivateImage_, context, request, false, nullptr);
Andrea Campanellac795b7d2021-04-14 13:24:44 +0200106}
107
108::grpc::ClientReader< ::dmi::ImageStatus>* NativeSoftwareManagementService::Stub::RevertToStandbyImageRaw(::grpc::ClientContext* context, const ::dmi::HardwareID& request) {
Andrea Campanella03d4e7a2021-04-28 15:34:46 +0200109 return ::grpc_impl::internal::ClientReaderFactory< ::dmi::ImageStatus>::Create(channel_.get(), rpcmethod_RevertToStandbyImage_, context, request);
110}
111
112void NativeSoftwareManagementService::Stub::experimental_async::RevertToStandbyImage(::grpc::ClientContext* context, ::dmi::HardwareID* request, ::grpc::experimental::ClientReadReactor< ::dmi::ImageStatus>* reactor) {
113 ::grpc_impl::internal::ClientCallbackReaderFactory< ::dmi::ImageStatus>::Create(stub_->channel_.get(), stub_->rpcmethod_RevertToStandbyImage_, context, request, reactor);
Andrea Campanellac795b7d2021-04-14 13:24:44 +0200114}
115
116::grpc::ClientAsyncReader< ::dmi::ImageStatus>* NativeSoftwareManagementService::Stub::AsyncRevertToStandbyImageRaw(::grpc::ClientContext* context, const ::dmi::HardwareID& request, ::grpc::CompletionQueue* cq, void* tag) {
Andrea Campanella03d4e7a2021-04-28 15:34:46 +0200117 return ::grpc_impl::internal::ClientAsyncReaderFactory< ::dmi::ImageStatus>::Create(channel_.get(), cq, rpcmethod_RevertToStandbyImage_, context, request, true, tag);
118}
119
120::grpc::ClientAsyncReader< ::dmi::ImageStatus>* NativeSoftwareManagementService::Stub::PrepareAsyncRevertToStandbyImageRaw(::grpc::ClientContext* context, const ::dmi::HardwareID& request, ::grpc::CompletionQueue* cq) {
121 return ::grpc_impl::internal::ClientAsyncReaderFactory< ::dmi::ImageStatus>::Create(channel_.get(), cq, rpcmethod_RevertToStandbyImage_, context, request, false, nullptr);
Andrea Campanellac795b7d2021-04-14 13:24:44 +0200122}
123
124::grpc::ClientReader< ::dmi::ConfigResponse>* NativeSoftwareManagementService::Stub::UpdateStartupConfigurationRaw(::grpc::ClientContext* context, const ::dmi::ConfigRequest& request) {
Andrea Campanella03d4e7a2021-04-28 15:34:46 +0200125 return ::grpc_impl::internal::ClientReaderFactory< ::dmi::ConfigResponse>::Create(channel_.get(), rpcmethod_UpdateStartupConfiguration_, context, request);
126}
127
128void NativeSoftwareManagementService::Stub::experimental_async::UpdateStartupConfiguration(::grpc::ClientContext* context, ::dmi::ConfigRequest* request, ::grpc::experimental::ClientReadReactor< ::dmi::ConfigResponse>* reactor) {
129 ::grpc_impl::internal::ClientCallbackReaderFactory< ::dmi::ConfigResponse>::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateStartupConfiguration_, context, request, reactor);
Andrea Campanellac795b7d2021-04-14 13:24:44 +0200130}
131
132::grpc::ClientAsyncReader< ::dmi::ConfigResponse>* NativeSoftwareManagementService::Stub::AsyncUpdateStartupConfigurationRaw(::grpc::ClientContext* context, const ::dmi::ConfigRequest& request, ::grpc::CompletionQueue* cq, void* tag) {
Andrea Campanella03d4e7a2021-04-28 15:34:46 +0200133 return ::grpc_impl::internal::ClientAsyncReaderFactory< ::dmi::ConfigResponse>::Create(channel_.get(), cq, rpcmethod_UpdateStartupConfiguration_, context, request, true, tag);
134}
135
136::grpc::ClientAsyncReader< ::dmi::ConfigResponse>* NativeSoftwareManagementService::Stub::PrepareAsyncUpdateStartupConfigurationRaw(::grpc::ClientContext* context, const ::dmi::ConfigRequest& request, ::grpc::CompletionQueue* cq) {
137 return ::grpc_impl::internal::ClientAsyncReaderFactory< ::dmi::ConfigResponse>::Create(channel_.get(), cq, rpcmethod_UpdateStartupConfiguration_, context, request, false, nullptr);
Andrea Campanellac795b7d2021-04-14 13:24:44 +0200138}
139
140::grpc::Status NativeSoftwareManagementService::Stub::GetStartupConfigurationInfo(::grpc::ClientContext* context, const ::dmi::StartupConfigInfoRequest& request, ::dmi::StartupConfigInfoResponse* response) {
Andrea Campanella03d4e7a2021-04-28 15:34:46 +0200141 return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetStartupConfigurationInfo_, context, request, response);
142}
143
144void NativeSoftwareManagementService::Stub::experimental_async::GetStartupConfigurationInfo(::grpc::ClientContext* context, const ::dmi::StartupConfigInfoRequest* request, ::dmi::StartupConfigInfoResponse* response, std::function<void(::grpc::Status)> f) {
145 ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetStartupConfigurationInfo_, context, request, response, std::move(f));
146}
147
148void NativeSoftwareManagementService::Stub::experimental_async::GetStartupConfigurationInfo(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::dmi::StartupConfigInfoResponse* response, std::function<void(::grpc::Status)> f) {
149 ::grpc_impl::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetStartupConfigurationInfo_, context, request, response, std::move(f));
150}
151
152void NativeSoftwareManagementService::Stub::experimental_async::GetStartupConfigurationInfo(::grpc::ClientContext* context, const ::dmi::StartupConfigInfoRequest* request, ::dmi::StartupConfigInfoResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) {
153 ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetStartupConfigurationInfo_, context, request, response, reactor);
154}
155
156void NativeSoftwareManagementService::Stub::experimental_async::GetStartupConfigurationInfo(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::dmi::StartupConfigInfoResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) {
157 ::grpc_impl::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetStartupConfigurationInfo_, context, request, response, reactor);
Andrea Campanellac795b7d2021-04-14 13:24:44 +0200158}
159
160::grpc::ClientAsyncResponseReader< ::dmi::StartupConfigInfoResponse>* NativeSoftwareManagementService::Stub::AsyncGetStartupConfigurationInfoRaw(::grpc::ClientContext* context, const ::dmi::StartupConfigInfoRequest& request, ::grpc::CompletionQueue* cq) {
Andrea Campanella03d4e7a2021-04-28 15:34:46 +0200161 return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::dmi::StartupConfigInfoResponse>::Create(channel_.get(), cq, rpcmethod_GetStartupConfigurationInfo_, context, request, true);
162}
163
164::grpc::ClientAsyncResponseReader< ::dmi::StartupConfigInfoResponse>* NativeSoftwareManagementService::Stub::PrepareAsyncGetStartupConfigurationInfoRaw(::grpc::ClientContext* context, const ::dmi::StartupConfigInfoRequest& request, ::grpc::CompletionQueue* cq) {
165 return ::grpc_impl::internal::ClientAsyncResponseReaderFactory< ::dmi::StartupConfigInfoResponse>::Create(channel_.get(), cq, rpcmethod_GetStartupConfigurationInfo_, context, request, false);
Andrea Campanellac795b7d2021-04-14 13:24:44 +0200166}
167
168NativeSoftwareManagementService::Service::Service() {
Andrea Campanella03d4e7a2021-04-28 15:34:46 +0200169 AddMethod(new ::grpc::internal::RpcServiceMethod(
Andrea Campanellac795b7d2021-04-14 13:24:44 +0200170 NativeSoftwareManagementService_method_names[0],
Andrea Campanella03d4e7a2021-04-28 15:34:46 +0200171 ::grpc::internal::RpcMethod::NORMAL_RPC,
172 new ::grpc::internal::RpcMethodHandler< NativeSoftwareManagementService::Service, ::dmi::HardwareID, ::dmi::GetSoftwareVersionInformationResponse>(
173 [](NativeSoftwareManagementService::Service* service,
174 ::grpc_impl::ServerContext* ctx,
175 const ::dmi::HardwareID* req,
176 ::dmi::GetSoftwareVersionInformationResponse* resp) {
177 return service->GetSoftwareVersion(ctx, req, resp);
178 }, this)));
179 AddMethod(new ::grpc::internal::RpcServiceMethod(
Andrea Campanellac795b7d2021-04-14 13:24:44 +0200180 NativeSoftwareManagementService_method_names[1],
Andrea Campanella03d4e7a2021-04-28 15:34:46 +0200181 ::grpc::internal::RpcMethod::SERVER_STREAMING,
182 new ::grpc::internal::ServerStreamingHandler< NativeSoftwareManagementService::Service, ::dmi::DownloadImageRequest, ::dmi::ImageStatus>(
183 [](NativeSoftwareManagementService::Service* service,
184 ::grpc_impl::ServerContext* ctx,
185 const ::dmi::DownloadImageRequest* req,
186 ::grpc_impl::ServerWriter<::dmi::ImageStatus>* writer) {
187 return service->DownloadImage(ctx, req, writer);
188 }, this)));
189 AddMethod(new ::grpc::internal::RpcServiceMethod(
Andrea Campanellac795b7d2021-04-14 13:24:44 +0200190 NativeSoftwareManagementService_method_names[2],
Andrea Campanella03d4e7a2021-04-28 15:34:46 +0200191 ::grpc::internal::RpcMethod::SERVER_STREAMING,
192 new ::grpc::internal::ServerStreamingHandler< NativeSoftwareManagementService::Service, ::dmi::HardwareID, ::dmi::ImageStatus>(
193 [](NativeSoftwareManagementService::Service* service,
194 ::grpc_impl::ServerContext* ctx,
195 const ::dmi::HardwareID* req,
196 ::grpc_impl::ServerWriter<::dmi::ImageStatus>* writer) {
197 return service->ActivateImage(ctx, req, writer);
198 }, this)));
199 AddMethod(new ::grpc::internal::RpcServiceMethod(
Andrea Campanellac795b7d2021-04-14 13:24:44 +0200200 NativeSoftwareManagementService_method_names[3],
Andrea Campanella03d4e7a2021-04-28 15:34:46 +0200201 ::grpc::internal::RpcMethod::SERVER_STREAMING,
202 new ::grpc::internal::ServerStreamingHandler< NativeSoftwareManagementService::Service, ::dmi::HardwareID, ::dmi::ImageStatus>(
203 [](NativeSoftwareManagementService::Service* service,
204 ::grpc_impl::ServerContext* ctx,
205 const ::dmi::HardwareID* req,
206 ::grpc_impl::ServerWriter<::dmi::ImageStatus>* writer) {
207 return service->RevertToStandbyImage(ctx, req, writer);
208 }, this)));
209 AddMethod(new ::grpc::internal::RpcServiceMethod(
Andrea Campanellac795b7d2021-04-14 13:24:44 +0200210 NativeSoftwareManagementService_method_names[4],
Andrea Campanella03d4e7a2021-04-28 15:34:46 +0200211 ::grpc::internal::RpcMethod::SERVER_STREAMING,
212 new ::grpc::internal::ServerStreamingHandler< NativeSoftwareManagementService::Service, ::dmi::ConfigRequest, ::dmi::ConfigResponse>(
213 [](NativeSoftwareManagementService::Service* service,
214 ::grpc_impl::ServerContext* ctx,
215 const ::dmi::ConfigRequest* req,
216 ::grpc_impl::ServerWriter<::dmi::ConfigResponse>* writer) {
217 return service->UpdateStartupConfiguration(ctx, req, writer);
218 }, this)));
219 AddMethod(new ::grpc::internal::RpcServiceMethod(
Andrea Campanellac795b7d2021-04-14 13:24:44 +0200220 NativeSoftwareManagementService_method_names[5],
Andrea Campanella03d4e7a2021-04-28 15:34:46 +0200221 ::grpc::internal::RpcMethod::NORMAL_RPC,
222 new ::grpc::internal::RpcMethodHandler< NativeSoftwareManagementService::Service, ::dmi::StartupConfigInfoRequest, ::dmi::StartupConfigInfoResponse>(
223 [](NativeSoftwareManagementService::Service* service,
224 ::grpc_impl::ServerContext* ctx,
225 const ::dmi::StartupConfigInfoRequest* req,
226 ::dmi::StartupConfigInfoResponse* resp) {
227 return service->GetStartupConfigurationInfo(ctx, req, resp);
228 }, this)));
Andrea Campanellac795b7d2021-04-14 13:24:44 +0200229}
230
231NativeSoftwareManagementService::Service::~Service() {
232}
233
234::grpc::Status NativeSoftwareManagementService::Service::GetSoftwareVersion(::grpc::ServerContext* context, const ::dmi::HardwareID* request, ::dmi::GetSoftwareVersionInformationResponse* response) {
235 (void) context;
236 (void) request;
237 (void) response;
238 return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
239}
240
241::grpc::Status NativeSoftwareManagementService::Service::DownloadImage(::grpc::ServerContext* context, const ::dmi::DownloadImageRequest* request, ::grpc::ServerWriter< ::dmi::ImageStatus>* writer) {
242 (void) context;
243 (void) request;
244 (void) writer;
245 return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
246}
247
248::grpc::Status NativeSoftwareManagementService::Service::ActivateImage(::grpc::ServerContext* context, const ::dmi::HardwareID* request, ::grpc::ServerWriter< ::dmi::ImageStatus>* writer) {
249 (void) context;
250 (void) request;
251 (void) writer;
252 return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
253}
254
255::grpc::Status NativeSoftwareManagementService::Service::RevertToStandbyImage(::grpc::ServerContext* context, const ::dmi::HardwareID* request, ::grpc::ServerWriter< ::dmi::ImageStatus>* writer) {
256 (void) context;
257 (void) request;
258 (void) writer;
259 return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
260}
261
262::grpc::Status NativeSoftwareManagementService::Service::UpdateStartupConfiguration(::grpc::ServerContext* context, const ::dmi::ConfigRequest* request, ::grpc::ServerWriter< ::dmi::ConfigResponse>* writer) {
263 (void) context;
264 (void) request;
265 (void) writer;
266 return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
267}
268
269::grpc::Status NativeSoftwareManagementService::Service::GetStartupConfigurationInfo(::grpc::ServerContext* context, const ::dmi::StartupConfigInfoRequest* request, ::dmi::StartupConfigInfoResponse* response) {
270 (void) context;
271 (void) request;
272 (void) response;
273 return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "");
274}
275
276
277} // namespace dmi
278