DBus::Message Class Reference

#include <message_p.h>

Inheritance diagram for DBus::Message:

List of all members.

Public Member Functions

 Private ()
 Private (DBusMessage *m)
 Message (Private *, bool incref=true)
 Message (const Message &m)
 ~Message ()
Messageoperator= (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.

References _pvt, Message(), and Private().

bool Message::destination ( const char *  s  ) 

Definition at line 457 of file message.cpp.

References _pvt.

const char * Message::destination (  )  const
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.

Message & Message::operator= ( const Message m  ) 

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]
MessageIter Message::reader (  )  const
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
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().


Friends And Related Function Documentation

friend class Connection [friend]

Definition at line 216 of file message.h.

friend class Error [friend]

Definition at line 215 of file message.h.

friend class ErrorMessage [friend]

Definition at line 212 of file message.h.

friend class MessageIter [friend]

Definition at line 214 of file message.h.

friend class ReturnMessage [friend]

Definition at line 213 of file message.h.


Member Data Documentation

DBusMessage* DBus::Message::msg

Definition at line 42 of file message_p.h.


The documentation for this class was generated from the following files: