Skip to content

Commit f83daa9

Browse files
committed
Implemented "raw rpc client" service
1 parent 362e319 commit f83daa9

File tree

6 files changed

+437
-0
lines changed

6 files changed

+437
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
//
2+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
// SPDX-License-Identifier: MIT
4+
//
5+
6+
#ifndef OCVSMD_COMMON_SVC_RELAY_RAW_RPC_CLIENT_SPEC_HPP_INCLUDED
7+
#define OCVSMD_COMMON_SVC_RELAY_RAW_RPC_CLIENT_SPEC_HPP_INCLUDED
8+
9+
#include "ocvsmd/common/svc/relay/RawRpcClient_0_1.hpp"
10+
11+
namespace ocvsmd
12+
{
13+
namespace common
14+
{
15+
namespace svc
16+
{
17+
namespace relay
18+
{
19+
20+
/// Defines IPC internal housekeeping specification for the `RawRpcClient` service.
21+
///
22+
struct RawRpcClientSpec
23+
{
24+
using Request = RawRpcClient::Request_0_1;
25+
using Response = RawRpcClient::Response_0_1;
26+
27+
constexpr auto static svc_full_name()
28+
{
29+
return "ocvsmd.svc.relay.raw_rpc_client";
30+
}
31+
32+
RawRpcClientSpec() = delete;
33+
};
34+
35+
} // namespace relay
36+
} // namespace svc
37+
} // namespace common
38+
} // namespace ocvsmd
39+
40+
#endif // OCVSMD_COMMON_SVC_RELAY_RAW_RPC_CLIENT_SPEC_HPP_INCLUDED

src/daemon/engine/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ add_library(ocvsmd_engine
5757
svc/node/list_registers_service.cpp
5858
svc/node/services.cpp
5959
svc/relay/raw_publisher_service.cpp
60+
svc/relay/raw_rpc_client_service.cpp
6061
svc/relay/raw_subscriber_service.cpp
6162
svc/relay/services.cpp
6263
)

0 commit comments

Comments
 (0)