mirror of https://github.com/Icinga/icinga2.git
28 lines
471 B
C++
28 lines
471 B
C++
#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
|
|
{
|
|
return GetPropertyString("identity", value);
|
|
}
|
|
|
|
inline void SetIdentity(const string& value)
|
|
{
|
|
SetPropertyString("identity", value);
|
|
}
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* IDENTITYMESSAGE_H */
|