Skip to main content

Module message

Module message 

Source
Expand description

D-Bus message framing.

  byte   endianness ('l' little, 'B' big)
  byte   message type
  byte   flags
  byte   protocol version (1)
  u32    body length
  u32    serial
  a(yv)  header fields — path, interface, member, signature, …
  ---- padded to 8 ----
  body

The header array’s padding is measured from the start of the message, so it is encoded into the same buffer as the fixed part rather than separately. The body may be encoded on its own, because it always begins at a multiple of 8 and every D-Bus alignment divides 8.

Structs§

Message
One D-Bus message.

Enums§

MessageType
The four kinds of D-Bus message, as the header’s type byte encodes them.

Constants§

FLAG_NO_REPLY_EXPECTED
NO_REPLY_EXPECTED.