2014-05-25 16:23:35 +02:00
|
|
|
#include "base/dynamicobject.hpp"
|
2013-10-26 09:41:45 +02:00
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
|
|
|
class Endpoint : DynamicObject
|
|
|
|
{
|
|
|
|
[config] String host;
|
2014-05-03 20:02:22 +02:00
|
|
|
[config] String port {
|
|
|
|
default {{{ return "5665"; }}}
|
|
|
|
};
|
|
|
|
[config] double log_duration {
|
|
|
|
default {{{ return 86400; }}}
|
|
|
|
};
|
2013-10-26 09:41:45 +02:00
|
|
|
|
|
|
|
[state] double local_log_position;
|
|
|
|
[state] double remote_log_position;
|
|
|
|
|
2014-06-23 10:00:02 +02:00
|
|
|
bool connecting;
|
2014-04-25 14:33:45 +02:00
|
|
|
bool syncing;
|
2013-10-26 09:41:45 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|