| 88 | } |
| 89 | |
| 90 | std::shared_ptr<message> runtime_impl::create_notification(bool _reliable) const { |
| 91 | auto its_notification = std::make_shared<message_impl>(); |
| 92 | its_notification->set_protocol_version(VSOMEIP_PROTOCOL_VERSION); |
| 93 | its_notification->set_message_type(message_type_e::MT_NOTIFICATION); |
| 94 | its_notification->set_return_code(return_code_e::E_OK); |
| 95 | its_notification->set_reliable(_reliable); |
| 96 | its_notification->set_interface_version(DEFAULT_MAJOR); |
| 97 | return its_notification; |
| 98 | } |
| 99 | |
| 100 | std::shared_ptr<payload> runtime_impl::create_payload() const { |
| 101 | return std::make_shared<payload_impl>(); |