2 <node name="/Channel_Handler" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
3 <tp:copyright>Copyright (C) 2007 Collabora Limited</tp:copyright>
4 <tp:license xmlns="http://www.w3.org/1999/xhtml">
5 <p>This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.</p>
10 <p>This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.</p>
15 <p>You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</p>
19 <interface name="org.freedesktop.Telepathy.ChannelHandler">
21 <method name="HandleChannel">
22 <arg direction="in" type="s" name="Bus_Name" tp:type="DBus_Bus_Name">
24 The bus name of the connection and channel
27 <arg direction="in" type="o" name="Connection">
29 The object-path of the connection that owns the channel
32 <arg direction="in" type="s" tp:type="DBus_Interface" name="Channel_Type">
37 <arg direction="in" type="o" name="Channel">
39 The object-path of the channel
42 <arg direction="in" type="u" tp:type="Handle_Type" name="Handle_Type">
43 <tp:docstring>The type of the handle that the channel communicates
44 with, or 0 if there is no associated handle</tp:docstring>
46 <arg direction="in" type="u" tp:type="Handle" name="Handle">
47 <tp:docstring>The handle that the channel communicates with,
48 or 0 if there is no associated handle</tp:docstring>
51 Called when a channel handler should handle a new channel.
53 <!-- FIXME: possible errors? -->
55 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
56 <p>An interface exported by client applications which are able to
57 handle incoming channels.</p>
61 <!-- vim:set sw=2 sts=2 et ft=xml: -->