DBus::Message Class Reference
#include <message_p.h>
Public Member Functions | |
Private () | |
Private (DBusMessage *m) | |
Message (Private *, bool incref=true) | |
Message (const Message &m) | |
~Message () | |
Message & | operator= (const Message &m) |
Message | copy () |
int | type () const |
int | serial () const |
int | reply_serial () const |
bool | reply_serial (int) |
const char * | sender () const |
bool | sender (const char *s) |
const char * | destination () const |
bool | destination (const char *s) |
bool | is_error () const |
bool | is_signal (const char *interface, const char *member) const |
MessageIter | reader () const |
MessageIter | writer () |
bool | append (int first_type,...) |
void | terminate () |
Public Attributes | |
DBusMessage * | msg |
Protected Member Functions | |
Message () | |
Protected Attributes | |
RefPtrI< Private > | _pvt |
Friends | |
class | ErrorMessage |
class | ReturnMessage |
class | MessageIter |
class | Error |
class | Connection |
Detailed Description
Definition at line 40 of file message_p.h.
Constructor & Destructor Documentation
DBus::Message::Message | ( | Private * | , | |
bool | incref = true | |||
) |
Message::Message | ( | const Message & | m | ) |
Definition at line 378 of file message.cpp.
References _pvt.
Message::~Message | ( | ) |
Definition at line 384 of file message.cpp.
References _pvt.
Message::Message | ( | ) | [protected] |
Definition at line 367 of file message.cpp.
Referenced by copy().
Member Function Documentation
bool Message::append | ( | int | first_type, | |
... | ||||
) |
Definition at line 406 of file message.cpp.
References _pvt.
Message Message::copy | ( | ) |
Definition at line 400 of file message.cpp.
bool Message::destination | ( | const char * | s | ) |
Definition at line 457 of file message.cpp.
References _pvt.
const char * Message::destination | ( | ) | const |
Definition at line 452 of file message.cpp.
References _pvt.
Referenced by DBus::ObjectProxy::_invoke_method(), DBus::ObjectProxy::_invoke_method_noreply(), and DBus::ObjectAdaptor::Private::message_function_stub().
bool Message::is_error | ( | ) | const |
Definition at line 462 of file message.cpp.
References type().
bool Message::is_signal | ( | const char * | interface, | |
const char * | member | |||
) | const |
Definition at line 467 of file message.cpp.
References _pvt.
Definition at line 389 of file message.cpp.
References _pvt.
DBus::Message::Private | ( | DBusMessage * | m | ) | [inline] |
Definition at line 47 of file message_p.h.
DBus::Message::Private | ( | ) | [inline] |
Definition at line 44 of file message_p.h.
Referenced by copy(), DBus::ReturnMessage::ReturnMessage(), DBus::Connection::send_blocking(), and DBus::PendingCall::steal_reply().
MessageIter Message::reader | ( | ) | const |
Definition at line 479 of file message.cpp.
References DBus::MessageIter::_iter, and _pvt.
Referenced by DBus::PropertiesAdaptor::Get(), DBus::IntrospectableProxy::Introspect(), and DBus::PropertiesAdaptor::Set().
bool Message::reply_serial | ( | int | s | ) |
Definition at line 437 of file message.cpp.
References _pvt.
int Message::reply_serial | ( | ) | const |
Definition at line 432 of file message.cpp.
References _pvt.
bool Message::sender | ( | const char * | s | ) |
Definition at line 447 of file message.cpp.
References _pvt.
const char * Message::sender | ( | ) | const |
Definition at line 442 of file message.cpp.
References _pvt.
Referenced by DBus::ObjectProxy::handle_message(), and DBus::ObjectAdaptor::Private::message_function_stub().
int Message::serial | ( | ) | const |
Definition at line 427 of file message.cpp.
References _pvt.
Referenced by DBus::ObjectAdaptor::Private::message_function_stub().
void Message::terminate | ( | ) |
Definition at line 417 of file message.cpp.
References _pvt.
int Message::type | ( | ) | const |
Definition at line 422 of file message.cpp.
References _pvt.
Referenced by DBus::ObjectProxy::handle_message(), DBus::ObjectAdaptor::handle_message(), and is_error().
MessageIter Message::writer | ( | ) |
Definition at line 472 of file message.cpp.
References DBus::MessageIter::_iter, and _pvt.
Referenced by DBus::ObjectAdaptor::Continuation::Continuation(), DBus::PropertiesAdaptor::Get(), DBus::IntrospectableAdaptor::Introspect(), and DBus::Variant::Variant().
Friends And Related Function Documentation
friend class Connection [friend] |
friend class ErrorMessage [friend] |
friend class MessageIter [friend] |
friend class ReturnMessage [friend] |
Member Data Documentation
RefPtrI<Private> DBus::Message::_pvt [protected] |
Definition at line 208 of file message.h.
Referenced by append(), DBus::CallMessage::CallMessage(), copy(), destination(), DBus::Error::Error(), DBus::ErrorMessage::ErrorMessage(), DBus::CallMessage::interface(), DBus::SignalMessage::interface(), is_signal(), DBus::CallMessage::member(), DBus::SignalMessage::member(), Message(), DBus::ErrorMessage::name(), operator=(), DBus::CallMessage::operator==(), DBus::SignalMessage::operator==(), DBus::ErrorMessage::operator==(), DBus::CallMessage::path(), DBus::SignalMessage::path(), DBus::CallMessage::path_split(), DBus::SignalMessage::path_split(), reader(), reply_serial(), DBus::ReturnMessage::ReturnMessage(), DBus::Connection::send(), DBus::Connection::send_async(), DBus::Connection::send_blocking(), sender(), serial(), DBus::SignalMessage::SignalMessage(), DBus::ReturnMessage::signature(), DBus::CallMessage::signature(), terminate(), type(), writer(), and ~Message().
DBusMessage* DBus::Message::msg |
Definition at line 42 of file message_p.h.
The documentation for this class was generated from the following files: