[telepathy-spec/master] NewConnection: add a access_control_param arg which can be used to identify the connection

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Thu May 14 02:41:43 PDT 2009


---
 spec/Channel_Type_Stream_Tube.xml |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/spec/Channel_Type_Stream_Tube.xml b/spec/Channel_Type_Stream_Tube.xml
index 3cd419a..d26a7f8 100644
--- a/spec/Channel_Type_Stream_Tube.xml
+++ b/spec/Channel_Type_Stream_Tube.xml
@@ -142,6 +142,29 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
           The handle of the participant who opened the new connection
         </tp:docstring>
       </arg>
+      <arg name="access_control_param" type="v">
+        <tp:docstring>
+          <p>A parameter for the access control type, to be interpreted as
+          specified in the documentation for the Socket_Access_Control
+          enum.</p>
+
+          <p>This parameter can be used by the listening process to identify
+          the connection. Note that this parameter has a meaningful value
+          only in the Socket_Access_Control_Port and
+          Socket_Access_Control_Credentials cases. If a different
+          Socket_Access_Control has been choosed when offering the tube, this
+          parameter should be ignored.</p>
+
+          <p>In the Socket_Access_Control_Port case, the variant
+          contains a struct Socket_Address_IPv4 (or Socket_Address_IPv6)
+          containing the address from which the CM is connected to the client
+          application.</p>
+
+          <p>In the Socket_Access_Control_Credentials case, the variant
+          contains the byte (D-Bus signature 'y') that has been sent with
+          the credentials.</p>
+        </tp:docstring>
+      </arg>
     </signal>
 
     <property name="Service" type="s" access="read"
-- 
1.5.6.5




More information about the telepathy-commits mailing list