mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-21 16:57:58 +02:00
WIP
This commit is contained in:
parent
60b665c1fc
commit
30cea59a42
@ -258,6 +258,9 @@ void JsonRpcConnection::MessageHandler(const String& jsonString)
|
|||||||
{
|
{
|
||||||
Dictionary::Ptr message = JsonRpc::DecodeMessage(jsonString);
|
Dictionary::Ptr message = JsonRpc::DecodeMessage(jsonString);
|
||||||
|
|
||||||
|
Log(LogCritical, "MESSAGE-HANDLER")
|
||||||
|
<< "Got message from endpoint '" << m_Endpoint->GetName() << "': " << jsonString;
|
||||||
|
|
||||||
if (m_Endpoint && message->Contains("ts")) {
|
if (m_Endpoint && message->Contains("ts")) {
|
||||||
double ts = message->Get("ts");
|
double ts = message->Get("ts");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user