Commit 1a480361 authored by aligungr's avatar aligungr

Performance improvements

parent 7fde546e
......@@ -72,12 +72,12 @@ void RlsUdpTask::onQuit()
m_server->quit();
}
void RlsUdpTask::sendRlsPdu(const InetAddress &addr, const rls::RlsMessage &msg)
void RlsUdpTask::sendRlsPdu(const InetAddress &address, const rls::RlsMessage &msg)
{
OctetString stream;
rls::EncodeRlsMessage(msg, stream);
m_server->send(addr, stream);
m_server->send(address, stream);
}
void RlsUdpTask::send(int cellId, const rls::RlsMessage &msg)
......
......@@ -56,8 +56,8 @@ class RlsUdpTask : public NtsTask
void onQuit() override;
private:
void sendRlsPdu(const InetAddress &addr, const rls::RlsMessage &msg);
void receiveRlsPdu(const InetAddress &addr, std::unique_ptr<rls::RlsMessage> &&msg);
void sendRlsPdu(const InetAddress &address, const rls::RlsMessage &msg);
void receiveRlsPdu(const InetAddress &address, std::unique_ptr<rls::RlsMessage> &&msg);
void onSignalChangeOrLost(int cellId);
void heartbeatCycle(uint64_t time, const Vector3 &simPos);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment