MCPcopy Create free account
hub / github.com/COVESA/vsomeip / create_request

Method create_request

implementation/runtime/src/runtime_impl.cpp:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66std::shared_ptr<message> runtime_impl::create_request(bool _reliable) const {
67 auto its_request = std::make_shared<message_impl>();
68 its_request->set_protocol_version(VSOMEIP_PROTOCOL_VERSION);
69 its_request->set_message_type(message_type_e::MT_REQUEST);
70 its_request->set_return_code(return_code_e::E_OK);
71 its_request->set_reliable(_reliable);
72 its_request->set_interface_version(DEFAULT_MAJOR);
73 return its_request;
74}
75
76std::shared_ptr<message> runtime_impl::create_response(const std::shared_ptr<message>& _request) const {
77 auto its_response = std::make_shared<message_impl>();

Callers 15

runMethod · 0.80
shutdown_serviceMethod · 0.80
runMethod · 0.80
shutdown_serviceMethod · 0.80
runMethod · 0.80
shutdown_serviceMethod · 0.80
runMethod · 0.80
shutdown_serviceMethod · 0.80
sendMethod · 0.80
runMethod · 0.80

Calls 5

set_protocol_versionMethod · 0.80
set_message_typeMethod · 0.80
set_return_codeMethod · 0.80
set_interface_versionMethod · 0.80
set_reliableMethod · 0.45

Tested by 15

runMethod · 0.64
shutdown_serviceMethod · 0.64
runMethod · 0.64
shutdown_serviceMethod · 0.64
runMethod · 0.64
shutdown_serviceMethod · 0.64
runMethod · 0.64
shutdown_serviceMethod · 0.64
sendMethod · 0.64
runMethod · 0.64
shutdown_serviceMethod · 0.64