2012-04-30 15:30:45 +02:00
|
|
|
#ifndef DISCOVERYMESSAGE_H
|
|
|
|
#define DISCOVERYMESSAGE_H
|
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
2012-05-19 11:04:52 +02:00
|
|
|
/**
|
|
|
|
* @ingroup discovery
|
|
|
|
*/
|
2012-05-16 11:30:54 +02:00
|
|
|
class DiscoveryMessage : public MessagePart
|
2012-04-30 15:30:45 +02:00
|
|
|
{
|
|
|
|
public:
|
2012-07-03 10:39:17 +02:00
|
|
|
DiscoveryMessage(void);
|
|
|
|
DiscoveryMessage(const MessagePart& message);
|
2012-05-07 13:48:17 +02:00
|
|
|
|
2012-07-03 10:39:17 +02:00
|
|
|
bool GetIdentity(string *value) const;
|
|
|
|
void SetIdentity(const string& value);
|
2012-05-07 13:48:17 +02:00
|
|
|
|
2012-07-03 10:39:17 +02:00
|
|
|
bool GetNode(string *value) const;
|
|
|
|
void SetNode(const string& value);
|
2012-04-30 15:30:45 +02:00
|
|
|
|
2012-07-03 10:39:17 +02:00
|
|
|
bool GetService(string *value) const;
|
|
|
|
void SetService(const string& value);
|
2012-04-30 15:30:45 +02:00
|
|
|
|
2012-07-03 10:39:17 +02:00
|
|
|
bool GetSubscriptions(MessagePart *value) const;
|
|
|
|
void SetSubscriptions(MessagePart value);
|
2012-04-30 15:30:45 +02:00
|
|
|
|
2012-07-03 10:39:17 +02:00
|
|
|
bool GetPublications(MessagePart *value) const;
|
|
|
|
void SetPublications(MessagePart value);
|
2012-04-30 15:30:45 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* SUBSCRIPTIONMESSAGE_H */
|