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