| 564 | // } |
| 565 | |
| 566 | void PluginNetEventRouter::ProcessAck(const std::shared_ptr<GrPluginNetClientEvent>& ev, const std::shared_ptr<Message>& m) { |
| 567 | auto sub = m->ack(); |
| 568 | auto ack = std::make_shared<NetMessageAck>(); |
| 569 | ack->send_time_ = sub.send_time(); |
| 570 | ack->resp_time_ = sub.resp_time(); |
| 571 | ack->ch_type_ = ev->nt_channel_type_; |
| 572 | ack->msg_type_ = m->type(); |
| 573 | ev->from_plugin_->OnMessageAck(ack); |
| 574 | } |
| 575 | } |
no test coverage detected