From: Simon McVittie Date: Tue, 26 Apr 2011 16:37:21 +0000 (+0100) Subject: Upgrade the type system into its own top-level section of the spec X-Git-Tag: dbus-1.5.6~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23cb3ecad32a3ea90ebc36cba22b829136322c20;p=thirdparty%2Fdbus.git Upgrade the type system into its own top-level section of the spec The type system can be used independently, for instance in GVariant (although GVariant's binary encoding is in fact not the same). Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38252 Reviewed-by: Lennart Poettering --- diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index 4bd0cb327..54f9049dd 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -264,27 +264,13 @@ - - Message Protocol - - - A message consists of a - header and a body. If you - think of a message as a package, the header is the address, and the body - contains the package contents. The message delivery system uses the header - information to figure out where to send the message and how to interpret - it; the recipient interprets the body of the message. - - - - The body of the message is made up of zero or more - arguments, which are typed values, such as an - integer or a byte array. - + + Type System - Both header and body use the same type system and format for - serializing data. Each type of value has a wire format. + D-Bus has a type system, in which values of various types can be + serialized into a sequence of bytes referred to as the + wire format in a standard way. Converting a value from some other representation into the wire format is called marshaling and converting it back from the wire format is unmarshaling. @@ -843,6 +829,31 @@ + + + + Message Protocol + + + A message consists of a + header and a body. If you + think of a message as a package, the header is the address, and the body + contains the package contents. The message delivery system uses the header + information to figure out where to send the message and how to interpret + it; the recipient interprets the body of the message. + + + + The body of the message is made up of zero or more + arguments, which are typed values, such as an + integer or a byte array. + + + + Both header and body use the D-Bus type + system and format for serializing data. + + Message Format