We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When downcasing from base to derived packet handlers, we need to differentiate between different tarcap versions...
if (version_ = TARAXA_NET_VERSION) { auto status_packet_handler = packets_handlers_->getSpecificHandler<StatusPacketHandler>(); status_packet_handler->sendStatus(node_id, true); } else { auto status_packet_handler = packets_handlers_->getSpecificHandler<v4::StatusPacketHandler>(); status_packet_handler->sendStatus(node_id, true); }
Refactor this so we downcast to a common::StatusPacketHandler base class
The text was updated successfully, but these errors were encountered:
JakubFornadel
No branches or pull requests
Task Description
When downcasing from base to derived packet handlers, we need to differentiate between different tarcap versions...
Refactor this so we downcast to a common::StatusPacketHandler base class
Epic Parent
The text was updated successfully, but these errors were encountered: