2012-06-25 14:13:24 +02:00
|
|
|
#ifndef CHECKRESULT_H
|
|
|
|
#define CHECKRESULT_H
|
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
2012-06-29 12:18:50 +02:00
|
|
|
class CheckResult : public MessagePart
|
2012-06-25 14:13:24 +02:00
|
|
|
{
|
|
|
|
public:
|
2012-06-29 12:18:50 +02:00
|
|
|
CheckResult(void) : MessagePart() { }
|
|
|
|
CheckResult(const MessagePart& message) : MessagePart(message) { }
|
2012-06-25 14:13:24 +02:00
|
|
|
|
2012-06-27 23:38:50 +02:00
|
|
|
void SetScheduleStart(time_t ts);
|
|
|
|
time_t GetScheduleStart(void) const;
|
2012-06-25 14:13:24 +02:00
|
|
|
|
2012-06-27 23:38:50 +02:00
|
|
|
void SetScheduleEnd(time_t ts);
|
|
|
|
time_t GetScheduleEnd(void) const;
|
|
|
|
|
|
|
|
void SetExecutionStart(time_t ts);
|
|
|
|
time_t GetExecutionStart(void) const;
|
|
|
|
|
|
|
|
void SetExecutionEnd(time_t ts);
|
|
|
|
time_t GetExecutionEnd(void) const;
|
2012-06-25 14:13:24 +02:00
|
|
|
|
2012-06-25 15:42:46 +02:00
|
|
|
void SetState(ServiceState state);
|
|
|
|
ServiceState GetState(void) const;
|
2012-06-25 14:13:24 +02:00
|
|
|
|
|
|
|
void SetOutput(string output);
|
|
|
|
string GetOutput(void) const;
|
|
|
|
|
2012-06-29 14:14:51 +02:00
|
|
|
void SetPerformanceDataRaw(const string& pd);
|
|
|
|
string GetPerformanceDataRaw(void) const;
|
|
|
|
|
2012-06-25 14:13:24 +02:00
|
|
|
void SetPerformanceData(const Dictionary::Ptr& pd);
|
|
|
|
Dictionary::Ptr GetPerformanceData(void) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* CHECKRESULT_H */
|