MCPcopy Create free account
hub / github.com/AimRT/AimRT / TrySerializeReqWithCache

Function TrySerializeReqWithCache

src/runtime/core/rpc/rpc_backend_tools.h:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38inline std::shared_ptr<aimrt::util::BufferArrayView> TrySerializeReqWithCache(
39 InvokeWrapper& invoke_wrapper, std::string_view serialization_type) noexcept {
40 try {
41 return SerializeReqWithCache(invoke_wrapper, serialization_type);
42 } catch (...) {
43 return {};
44 }
45}
46
47inline std::shared_ptr<aimrt::util::BufferArrayView> SerializeRspWithCache(
48 InvokeWrapper& invoke_wrapper, std::string_view serialization_type) {

Callers 9

InvokeMethod · 0.85
InvokeMethod · 0.85
InvokeMethod · 0.85
InvokeMethod · 0.85
InvokeMethod · 0.85
InvokeMethod · 0.85
rpc_manager.ccFile · 0.85

Calls 1

SerializeReqWithCacheFunction · 0.85

Tested by

no test coverage detected