[next] telepathy-spec: Mark up immutable/requestable tube props

Xavier Claessens xclaesse at kemper.freedesktop.org
Thu Sep 6 05:20:49 PDT 2012


Module: telepathy-spec
Branch: next
Commit: f0a0e06f6b676a12d3ab0483e4699b26c3230f75
URL:    http://cgit.freedesktop.org/telepathy/telepathy-spec/commit/?id=f0a0e06f6b676a12d3ab0483e4699b26c3230f75

Author: Will Thompson <will.thompson at collabora.co.uk>
Date:   Tue Mar 20 11:54:59 2012 +0000

Mark up immutable/requestable tube props

---

 spec/Channel_Interface_Tube.xml   |    3 ++-
 spec/Channel_Type_DBus_Tube.xml   |    7 +++++--
 spec/Channel_Type_Stream_Tube.xml |    7 +++++--
 3 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/spec/Channel_Interface_Tube.xml b/spec/Channel_Interface_Tube.xml
index f31ab21..72f7794 100644
--- a/spec/Channel_Interface_Tube.xml
+++ b/spec/Channel_Interface_Tube.xml
@@ -60,7 +60,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
     </tp:docstring>
 
     <property name="Parameters" type="a{sv}" tp:type="String_Variant_Map"
-              access="read" tp:name-for-bindings="Parameters">
+              access="read" tp:name-for-bindings="Parameters"
+              tp:immutable="sometimes">
       <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
         <p>Each tube has a dictionary of arbitrary parameters. Parameters are
           commonly used to bootstrap legacy protocols where you can't
diff --git a/spec/Channel_Type_DBus_Tube.xml b/spec/Channel_Type_DBus_Tube.xml
index 74e6595..e79ba5a 100644
--- a/spec/Channel_Type_DBus_Tube.xml
+++ b/spec/Channel_Type_DBus_Tube.xml
@@ -127,7 +127,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
     </signal>
 
     <property name="ServiceName" type="s" access="read"
-              tp:name-for-bindings="Service_Name">
+              tp:name-for-bindings="Service_Name"
+              tp:requestable="yep"
+              tp:immutable="yep">
       <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
         <p>A string representing the service name that will be used over the
           tube. It SHOULD be a well-known D-Bus service name, of the form
@@ -170,7 +172,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
     <property name="SupportedAccessControls" type="au"
               tp:type="Socket_Access_Control[]" access="read"
-              tp:name-for-bindings="Supported_Access_Controls">
+              tp:name-for-bindings="Supported_Access_Controls"
+              tp:immutable="yep">
       <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
         <p>A list of the access control types that are supported with this channel.
         Note that only Socket_Access_Control_Localhost and
diff --git a/spec/Channel_Type_Stream_Tube.xml b/spec/Channel_Type_Stream_Tube.xml
index 63e7b2f..83655c3 100644
--- a/spec/Channel_Type_Stream_Tube.xml
+++ b/spec/Channel_Type_Stream_Tube.xml
@@ -227,7 +227,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
     </signal>
 
     <property name="Service" type="s" access="read"
-              tp:name-for-bindings="Service">
+              tp:name-for-bindings="Service"
+              tp:immutable="yes"
+              tp:requestable="yes">
       <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
         <p> A string representing the service name that will be used over the
           tube.  It should be a well-known TCP service name as defined by
@@ -246,7 +248,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
     <property name="SupportedSocketTypes" type="a{uau}"
               tp:type="Supported_Socket_Map" access="read"
-              tp:name-for-bindings="Supported_Socket_Types">
+              tp:name-for-bindings="Supported_Socket_Types"
+              tp:immutable="yes">
       <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
         <p>A mapping from address types (members of Socket_Address_Type) to
         arrays of access-control type (members of Socket_Access_Control)



More information about the telepathy-commits mailing list