21 #ifndef __EDELIB_EDBUSMESSAGE_H__
22 #define __EDELIB_EDBUSMESSAGE_H__
25 #include "EdbusData.h"
31 class EdbusConnection;
32 struct EdbusMessageImpl;
108 EdbusMessageImpl* dm;
111 void from_dbus_message(DBusMessage* m);
112 DBusMessage* to_dbus_message(
void)
const;
151 void create_signal(
const char* path,
const char* interface,
const char* name);
161 void create_method_call(
const char* service,
const char* path,
const char* interface,
const char* method);
176 void create_error_reply(
const EdbusMessage& replying_to,
const char* errmsg);
186 void clear_all(
void);
191 bool is_signal(
void);
196 bool is_method_call(
void);
201 bool is_error_reply(
const char* errmsg);
207 void path(
const char* np);
213 const char* path(
void)
const;
219 void interface(
const char* ni);
225 const char* interface(
void)
const;
236 void destination(
const char* nd);
242 const char* destination(
void)
const;
250 void member(
const char* nm);
256 const char* member(
void)
const;
266 void sender(
const char* ns);
276 const char* sender(
void)
const;
287 const char* signature(
void)
const;
319 unsigned int size(
void)
const {
return msg_content.size(); }
D-Bus connection and data sender.
Definition: EdbusConnection.h:154
iterator end(void)
Definition: EdbusMessage.h:308
unsigned int size(void) const
Definition: EdbusMessage.h:319
Class for representing D-Bus data types.
Definition: EdbusData.h:110
Linked list class.
Definition: List.h:160
EdbusMessage()
Definition: EdbusMessage.h:131
iterator begin(void)
Definition: EdbusMessage.h:297
const_iterator begin(void) const
Definition: EdbusMessage.h:302
list< EdbusData >::const_iterator const_iterator
Definition: EdbusMessage.h:124
Data transporter for D-Bus.
Definition: EdbusMessage.h:104
void append(const EdbusData &data)
Definition: EdbusMessage.h:292
#define E_DISABLE_CLASS_COPY(klass)
Definition: edelib-global.h:161
const_iterator end(void) const
Definition: EdbusMessage.h:314
EdbusList & operator<<(EdbusList &lst, const EdbusData &val)
Definition: EdbusList.h:219
list< EdbusData >::iterator iterator
Definition: EdbusMessage.h:119