diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-01-20 11:42:15 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-01-20 11:42:15 +0000 |
commit | 95a87f182343dea698d281cc6e8b07e734e1f9cb (patch) | |
tree | 581c8ef5956d1d5fd86241fa6a2c7ea4d4e40419 /spec/Connection.xml | |
parent | a101efff3a1c46981fd3bb2340d9bff6ec464460 (diff) | |
download | telepathy-glib-95a87f182343dea698d281cc6e8b07e734e1f9cb.tar.gz |
Update telepathy-spec to 0.17.18
Diffstat (limited to 'spec/Connection.xml')
-rw-r--r-- | spec/Connection.xml | 47 |
1 files changed, 29 insertions, 18 deletions
diff --git a/spec/Connection.xml b/spec/Connection.xml index 951619683..bc46ecfee 100644 --- a/spec/Connection.xml +++ b/spec/Connection.xml @@ -67,7 +67,8 @@ USA.</p> </method> <method name="GetInterfaces" tp:name-for-bindings="Get_Interfaces"> - <arg direction="out" type="as" tp:type="DBus_Interface[]"> + <arg direction="out" type="as" tp:type="DBus_Interface[]" + name="Interfaces"> <tp:docstring> An array of D-Bus interface names </tp:docstring> @@ -110,7 +111,7 @@ USA.</p> </method> <method name="GetProtocol" tp:name-for-bindings="Get_Protocol"> - <arg direction="out" type="s" tp:type="Protocol"> + <arg direction="out" type="s" tp:type="Protocol" name="Protocol"> <tp:docstring> A string identifier for the protocol </tp:docstring> @@ -157,7 +158,8 @@ USA.</p> </property> <method name="GetSelfHandle" tp:name-for-bindings="Get_Self_Handle"> - <arg direction="out" type="u" tp:type="Contact_Handle"> + <arg direction="out" type="u" tp:type="Contact_Handle" + name="Self_Handle"> <tp:docstring> The value of the <tp:member-ref>SelfHandle</tp:member-ref> property </tp:docstring> @@ -177,7 +179,8 @@ USA.</p> </method> <method name="GetStatus" tp:name-for-bindings="Get_Status"> - <arg direction="out" type="u" tp:type="Connection_Status"> + <arg direction="out" type="u" tp:type="Connection_Status" + name="Status"> <tp:docstring> An integer representing the current status </tp:docstring> @@ -246,7 +249,7 @@ USA.</p> </tp:docstring> </arg> - <arg direction="out" type="as"> + <arg direction="out" type="as" name="Identifiers"> <tp:docstring> An array of handle names in the same order as the given numbers </tp:docstring> @@ -269,7 +272,8 @@ USA.</p> </method> <method name="ListChannels" tp:name-for-bindings="List_Channels"> - <arg direction="out" type="a(osuu)" tp:type="Channel_Info[]"> + <arg direction="out" type="a(osuu)" tp:type="Channel_Info[]" + name="Channel_Info"> <tp:docstring> An array of structs representing channels. </tp:docstring> @@ -429,7 +433,7 @@ USA.</p> </tp:docstring> </arg> - <arg direction="out" type="o"> + <arg direction="out" type="o" name="Object_Path"> <tp:docstring> The D-Bus object path for the channel created or retrieved </tp:docstring> @@ -562,7 +566,8 @@ USA.</p> </tp:docstring> </arg> - <arg direction="out" type="au" tp:type="Handle[]"> + <arg direction="out" type="au" tp:type="Handle[]" + name="Handles"> <tp:docstring> An array of integer handle numbers in the same order as the given strings </tp:docstring> @@ -582,21 +587,27 @@ USA.</p> <tp:possible-errors> <tp:error name="org.freedesktop.Telepathy.Error.Disconnected"/> - <tp:error name="org.freedesktop.Telepathy.Error.InvalidArgument"> - <tp:docstring> - The handle type is invalid - </tp:docstring> - </tp:error> - <tp:error name="org.freedesktop.Telepathy.Error.NotAvailable"> + <tp:error name="org.freedesktop.Telepathy.Error.InvalidHandle"> <tp:docstring> - The given name is not a valid entity of the given type + The given name does not identify a valid entity of the given type. + + <tp:rationale> + For instance, an XMPP connection would raise this error for + identifiers with type Handle_Type_Room that do not contain + exactly one '@' character, that contain spaces, and so on. + </tp:rationale> </tp:docstring> </tp:error> <tp:error name="org.freedesktop.Telepathy.Error.NotImplemented"> <tp:docstring> - The given handle type is valid, but not implemented on this - connection. For instance, a CM for a protocol that doesn't have - chat rooms would not implement room handles. + The given handle type is not valid, or is not implemented on this + connection. + + <tp:rationale> + For instance, a connection to a protocol that doesn't have + chat rooms would raise this error for room handles, and all CMs + would raise this error for Handle_Type_None. + </tp:rationale> </tp:docstring> </tp:error> </tp:possible-errors> |