From 11b491316fb83b0def0ec53b69e2d53ec2722403 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Tue, 11 May 2004 18:31:34 +0000 Subject: * updated the invalid test cases to include the missing PATH header field which is required * updated the spec documentation to indicate that INTERFACE, MEMBER, and PATH are all required fields --- doc/dbus-specification.xml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index 412d8ea0..7a09a5cf 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -266,7 +266,8 @@ In addition to the required header information mentioned in , - the header may contain zero or more named + the header must contain the required named header + fields and zero or more of the optional named header fields. Future versions of this protocol specification may add new fields. Implementations must ignore fields they do not understand. Implementations @@ -287,12 +288,13 @@ Here are the currently-defined named header fields: - + Conventional Name Decimal Value Type + Required Description @@ -301,12 +303,14 @@ INVALID 0 INVALID + no Not a valid field name (error if it appears in a message) PATH 1 OBJECT_PATH + yes The object to send the message to; objects are identified by a path, "/foo/bar" @@ -314,6 +318,7 @@ INTERFACE 2 STRING + yes The interface to invoke a method call on, or that a signal is emitted from. e.g. "org.freedesktop.Introspectable" @@ -321,6 +326,7 @@ MEMBER 3 STRING + yes The member, either the method name or signal name. e.g. "Frobate" @@ -328,12 +334,14 @@ ERROR_NAME 4 STRING + no The name of the error that occurred, for errors REPLY_SERIAL 5 UINT32 + no The serial number of the message this message is a reply to. (The serial number is one of the mandatory header fields, see .) @@ -342,6 +350,7 @@ DESTINATION 6 STRING + no The name of the service this message should be routed to. Only used in combination with the message bus, see . @@ -350,6 +359,7 @@ SENDER 7 STRING + no Sender service. The name of the base service that sent this message. The message bus fills in this field; the field is only meaningful in combination with the message bus. -- cgit