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:
1 parent
d65744b1fc
commit
118faa58f6
2 files changed
+18
-2
No files matched your search
@@ -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