mirror of https://github.com/Icinga/icinga2.git
27 lines
422 B
Plaintext
27 lines
422 B
Plaintext
#include "base/dynamicobject.hpp"
|
|
#include "base/application.hpp"
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
class ApiListener : DynamicObject
|
|
{
|
|
[config] String cert_path;
|
|
[config] String key_path;
|
|
[config] String ca_path;
|
|
[config] String crl_path;
|
|
|
|
[config] String bind_host;
|
|
[config] String bind_port {
|
|
default {{{ return "5665"; }}}
|
|
};
|
|
|
|
[config] bool accept_config;
|
|
|
|
[state] double log_message_timestamp;
|
|
|
|
String identity;
|
|
};
|
|
|
|
}
|