[Yellowstone] Use yunq native empty requests and responses for service.
This commit is contained in:
parent
cc4b5bd811
commit
b95c736825
13 changed files with 140 additions and 113 deletions
|
|
@ -17,15 +17,25 @@ class YellowstoneClient {
|
|||
z_cap_t Capability() { return endpoint_; }
|
||||
|
||||
|
||||
[[nodiscard]] glcr::ErrorCode RegisterEndpoint(const RegisterEndpointRequest& request, Empty& response);
|
||||
|
||||
[[nodiscard]] glcr::ErrorCode RegisterEndpoint(const RegisterEndpointRequest& request);
|
||||
|
||||
|
||||
|
||||
[[nodiscard]] glcr::ErrorCode GetEndpoint(const GetEndpointRequest& request, Endpoint& response);
|
||||
|
||||
|
||||
[[nodiscard]] glcr::ErrorCode GetAhciInfo(const Empty& request, AhciInfo& response);
|
||||
|
||||
[[nodiscard]] glcr::ErrorCode GetAhciInfo(AhciInfo& response);
|
||||
|
||||
|
||||
[[nodiscard]] glcr::ErrorCode GetFramebufferInfo(const Empty& request, FramebufferInfo& response);
|
||||
|
||||
[[nodiscard]] glcr::ErrorCode GetFramebufferInfo(FramebufferInfo& response);
|
||||
|
||||
|
||||
[[nodiscard]] glcr::ErrorCode GetDenali(const Empty& request, DenaliInfo& response);
|
||||
|
||||
[[nodiscard]] glcr::ErrorCode GetDenali(DenaliInfo& response);
|
||||
|
||||
|
||||
private:
|
||||
z_cap_t endpoint_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue