2019-02-25 14:48:22 +01:00
|
|
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
2014-12-09 13:17:27 +01:00
|
|
|
|
2015-06-22 11:11:21 +02:00
|
|
|
#include "remote/jsonrpcconnection.hpp"
|
2014-12-09 13:17:27 +01:00
|
|
|
#include "remote/messageorigin.hpp"
|
|
|
|
#include "remote/apifunction.hpp"
|
|
|
|
#include "base/initialize.hpp"
|
2015-08-15 20:28:05 +02:00
|
|
|
#include "base/configtype.hpp"
|
2014-12-10 09:56:32 +01:00
|
|
|
#include "base/logger.hpp"
|
2015-03-28 11:04:42 +01:00
|
|
|
#include "base/utility.hpp"
|
2014-12-09 13:17:27 +01:00
|
|
|
|
|
|
|
using namespace icinga;
|
|
|
|
|
2015-06-22 11:11:21 +02:00
|
|
|
REGISTER_APIFUNCTION(Heartbeat, event, &JsonRpcConnection::HeartbeatAPIHandler);
|
2014-12-09 13:17:27 +01:00
|
|
|
|
2015-08-04 14:47:44 +02:00
|
|
|
Value JsonRpcConnection::HeartbeatAPIHandler(const MessageOrigin::Ptr& origin, const Dictionary::Ptr& params)
|
2014-12-09 13:17:27 +01:00
|
|
|
{
|
2014-12-09 15:07:49 +01:00
|
|
|
return Empty;
|
2014-12-09 13:17:27 +01:00
|
|
|
}
|
|
|
|
|