icinga2/components/discovery/discoverymessage.h

35 lines
692 B
C
Raw Normal View History

#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
{
public:
DiscoveryMessage(void);
DiscoveryMessage(const MessagePart& message);
2012-05-07 13:48:17 +02:00
bool GetIdentity(string *value) const;
void SetIdentity(const string& value);
2012-05-07 13:48:17 +02:00
bool GetNode(string *value) const;
void SetNode(const string& value);
bool GetService(string *value) const;
void SetService(const string& value);
bool GetSubscriptions(MessagePart *value) const;
void SetSubscriptions(MessagePart value);
bool GetPublications(MessagePart *value) const;
void SetPublications(MessagePart value);
};
}
#endif /* SUBSCRIPTIONMESSAGE_H */