Home | History | Annotate | Download | only in dbus

Lines Matching defs:Message

5 #include "dbus/message.h"
55 Message::Message()
59 Message::~Message() {
64 void Message::Init(DBusMessage* raw_message) {
69 Message::MessageType Message::GetMessageType() {
73 return static_cast<Message::MessageType>(type);
76 std::string Message::GetMessageTypeAsString() {
93 std::string Message::ToStringInternal(const std::string& indent,
95 const char* kBrokenMessage = "[broken message]";
239 // The returned string consists of message headers such as
240 // destination if any, followed by a blank line, and the message
250 std::string Message::ToString() {
272 bool Message::SetDestination(const std::string& destination) {
276 bool Message::SetPath(const ObjectPath& path) {
280 bool Message::SetInterface(const std::string& interface) {
284 bool Message::SetMember(const std::string& member) {
288 bool Message::SetErrorName(const std::string& error_name) {
292 bool Message::SetSender(const std::string& sender) {
296 void Message::SetSerial(uint32_t serial) {
300 void Message::SetReplySerial(uint32_t reply_serial) {
304 std::string Message::GetDestination() {
309 ObjectPath Message::GetPath() {
314 std::string Message::GetInterface() {
319 std::string Message::GetMember() {
324 std::string Message::GetErrorName() {
329 std::string Message::GetSender() {
334 std::string Message::GetSignature() {
339 uint32_t Message::GetSerial() {
343 uint32_t Message::GetReplySerial() {
353 : Message() {
360 MethodCall::MethodCall() : Message() {
376 : Message() {
383 Signal::Signal() : Message() {
398 Response::Response() : Message() {
453 MessageWriter::MessageWriter(Message* message)
454 : message_(message),
457 if (message)
528 // client side than response message from server side, so this should
726 MessageReader::MessageReader(Message* message)
727 : message_(message) {
729 if (message)
958 Message::DataType MessageReader::GetDataType() {
960 return static_cast<Message::DataType>(dbus_type);