| 64 | } |
| 65 | |
| 66 | std::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 | |
| 76 | std::shared_ptr<message> runtime_impl::create_response(const std::shared_ptr<message>& _request) const { |
| 77 | auto its_response = std::make_shared<message_impl>(); |