Track whether a message is a broadcast. If a broadcast, log at a lower level.

This commit is contained in:
JoelKatz
2013-02-12 22:05:46 -08:00
parent 1cf14d68be
commit 73fe72bfa3
7 changed files with 20 additions and 20 deletions

View File

@@ -72,11 +72,11 @@ public:
}
// Implement overridden functions from base class:
void send(const Json::Value& jvObj)
void send(const Json::Value& jvObj, bool broadcast)
{
connection_ptr ptr = mConnection.lock();
if (ptr)
mHandler->send(ptr, jvObj);
mHandler->send(ptr, jvObj, broadcast);
}
// Utilities