14 #ifndef DBUSCXX_CALLMESSAGE_H
15 #define DBUSCXX_CALLMESSAGE_H
39 CallMessage(
const std::string& dest,
const std::string&
path,
const std::string& iface,
const std::string& method );
41 CallMessage(
const std::string&
path,
const std::string& iface,
const std::string& method );
47 static std::shared_ptr<CallMessage>
create();
49 static std::shared_ptr<CallMessage>
create(
const std::string& dest,
const std::string&
path,
const std::string& iface,
const std::string& method );
51 static std::shared_ptr<CallMessage>
create(
const std::string&
path,
const std::string& iface,
const std::string& method );
53 static std::shared_ptr<CallMessage>
create(
const std::string&
path,
const std::string& method );
77 void set_path(
const std::string& p );
87 std::string
member()
const;
Represents a DBus call message.
Definition: callmessage.h:34
std::shared_ptr< ErrorMessage > create_error_reply() const
Create an error reply to this message.
Definition: callmessage.cpp:77
std::string member() const
Definition: callmessage.cpp:123
static std::shared_ptr< CallMessage > create()
Definition: callmessage.cpp:47
void set_interface(const std::string &i)
Definition: callmessage.cpp:105
CallMessage()
Definition: callmessage.cpp:20
std::string interface_name() const
Definition: callmessage.cpp:109
void set_member(const std::string &m)
Definition: callmessage.cpp:119
void set_path(const std::string &p)
Definition: callmessage.cpp:91
bool expects_reply() const
Definition: callmessage.cpp:145
Path path() const
Definition: callmessage.cpp:95
std::shared_ptr< ReturnMessage > create_reply() const
Create a reply to this call message.
Definition: callmessage.cpp:63
virtual MessageType type() const
Definition: callmessage.cpp:149
void set_no_reply(bool no_reply=true)
Definition: callmessage.cpp:133
This class represents a basic DBus message and also serves as a base class for the specialized messag...
Definition: message.h:43
Represents a DBus Path.
Definition: path.h:21
Global DBus namespace, where everything happens.
Definition: callmessage.cpp:18
MessageType
Definition: enums.h:81