| 24 | #define VSOMEIP_LOG_PREFIX "rmb" |
| 25 | |
| 26 | routing_manager_base::routing_manager_base(routing_manager_host* _host) : |
| 27 | host_(_host), io_(host_->get_io()), configuration_(host_->get_configuration()), tc_(trace::connector_impl::get()) { |
| 28 | const std::size_t its_max = configuration_->get_io_thread_count(host_->get_name()); |
| 29 | const uint32_t its_buffer_shrink_threshold = configuration_->get_buffer_shrink_threshold(); |
| 30 | |
| 31 | for (std::size_t i = 0; i < its_max; ++i) { |
| 32 | serializers_.push(std::make_shared<serializer>(its_buffer_shrink_threshold)); |
| 33 | deserializers_.push(std::make_shared<deserializer>(its_buffer_shrink_threshold)); |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | boost::asio::io_context& routing_manager_base::get_io() { |
| 38 |
nothing calls this directly
no test coverage detected