forked from Kistler-Group/sdbus-cpp
Add API to get message path and message destination (#167)
* Add API to get message path * Add API to get message destination * Handle NULL message fields interface and member Functions sd_bus_message_get_interface() and sd_bus_message_get_member() can return null in case the message does not use those fields or does not have them set.
This commit is contained in:
@ -131,6 +131,8 @@ namespace sdbus {
|
||||
std::string getInterfaceName() const;
|
||||
std::string getMemberName() const;
|
||||
std::string getSender() const;
|
||||
std::string getPath() const;
|
||||
std::string getDestination() const;
|
||||
void peekType(std::string& type, std::string& contents) const;
|
||||
bool isValid() const;
|
||||
bool isEmpty() const;
|
||||
|
Reference in New Issue
Block a user