2012-04-20 10:38:11 +02:00
|
|
|
#ifndef SUBSCRIPTIONMESSAGE_H
|
|
|
|
#define SUBSCRIPTIONMESSAGE_H
|
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
|
|
|
class I2_ICINGA_API SubscriptionMessage : public Message
|
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
|
|
|
SubscriptionMessage(void) : Message() { }
|
|
|
|
SubscriptionMessage(const Message& message) : Message(message) { }
|
|
|
|
|
|
|
|
inline bool GetMethod(string *value) const
|
|
|
|
{
|
2012-04-20 13:49:04 +02:00
|
|
|
return GetPropertyString("method", value);
|
2012-04-20 10:38:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
inline void SetMethod(const string& value)
|
|
|
|
{
|
2012-04-20 13:49:04 +02:00
|
|
|
SetPropertyString("method", value);
|
2012-04-20 10:38:11 +02:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* SUBSCRIPTIONMESSAGE_H */
|