<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="EmpathyDispatcher">
<refmeta>
<refentrytitle role="top_of_page" id="EmpathyDispatcher.top_of_page">EmpathyDispatcher</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBEMPATHY Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>EmpathyDispatcher</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="EmpathyDispatcher.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
                    <link linkend="EmpathyDispatcher-struct">EmpathyDispatcher</link>;
#define             <link linkend="EMPATHY-TYPE-DISPATCHER-TUBE:CAPS">EMPATHY_TYPE_DISPATCHER_TUBE</link>
                    <link linkend="EmpathyDispatcherTube">EmpathyDispatcherTube</link>;
<link linkend="EmpathyDispatcher">EmpathyDispatcher</link>*  <link linkend="empathy-dispatcher-new">empathy_dispatcher_new</link>              (void);
<link linkend="void">void</link>                <link linkend="empathy-dispatcher-channel-process">empathy_dispatcher_channel_process</link>  (<link linkend="EmpathyDispatcher">EmpathyDispatcher</link> *dispatcher,
                                                         <link linkend="TpChannel">TpChannel</link> *channel);
<link linkend="GType">GType</link>               <link linkend="empathy-dispatcher-tube-get-type">empathy_dispatcher_tube_get_type</link>    (void);
<link linkend="EmpathyDispatcherTube">EmpathyDispatcherTube</link>* <link linkend="empathy-dispatcher-tube-ref">empathy_dispatcher_tube_ref</link>      (<link linkend="EmpathyDispatcherTube">EmpathyDispatcherTube</link> *tube);
<link linkend="void">void</link>                <link linkend="empathy-dispatcher-tube-unref">empathy_dispatcher_tube_unref</link>       (<link linkend="EmpathyDispatcherTube">EmpathyDispatcherTube</link> *tube);
<link linkend="void">void</link>                <link linkend="empathy-dispatcher-tube-process">empathy_dispatcher_tube_process</link>     (<link linkend="EmpathyDispatcher">EmpathyDispatcher</link> *dispatcher,
                                                         <link linkend="EmpathyDispatcherTube">EmpathyDispatcherTube</link> *tube);
<link linkend="void">void</link>                <link linkend="empathy-dispatcher-call-with-contact">empathy_dispatcher_call_with_contact</link>
                                                        (<link linkend="EmpathyContact">EmpathyContact</link> *contact);
<link linkend="void">void</link>                <link linkend="empathy-dispatcher-call-with-contact-id">empathy_dispatcher_call_with_contact_id</link>
                                                        (<link linkend="McAccount">McAccount</link> *account,
                                                         const <link linkend="gchar">gchar</link> *contact_id);
<link linkend="void">void</link>                <link linkend="empathy-dispatcher-chat-with-contact-id">empathy_dispatcher_chat_with_contact_id</link>
                                                        (<link linkend="McAccount">McAccount</link> *account,
                                                         const <link linkend="gchar">gchar</link> *contact_id);
<link linkend="void">void</link>                <link linkend="empathy-dispatcher-chat-with-contact">empathy_dispatcher_chat_with_contact</link>
                                                        (<link linkend="EmpathyContact">EmpathyContact</link> *contact);
</synopsis>
</refsynopsisdiv>

<refsect1 id="EmpathyDispatcher.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GObject">GObject</link>
   +----EmpathyDispatcher
</synopsis>

</refsect1>






<refsect1 id="EmpathyDispatcher.signals" role="signal_proto">
<title role="signal_proto.title">Signals</title>
<synopsis>
  &quot;<link linkend="EmpathyDispatcher-dispatch-channel">dispatch-channel</link>&quot;                               : Run Last
  &quot;<link linkend="EmpathyDispatcher-filter-channel">filter-channel</link>&quot;                                 : Run Last
  &quot;<link linkend="EmpathyDispatcher-filter-tube">filter-tube</link>&quot;                                    : Run Last
</synopsis>
</refsect1>


<refsect1 id="EmpathyDispatcher.description" role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 id="EmpathyDispatcher.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="EmpathyDispatcher-struct" role="struct">
<title>EmpathyDispatcher</title>
<indexterm zone="EmpathyDispatcher-struct"><primary>EmpathyDispatcher</primary></indexterm><programlisting>typedef struct _EmpathyDispatcher EmpathyDispatcher;</programlisting>
<para>

</para></refsect2>
<refsect2 id="EMPATHY-TYPE-DISPATCHER-TUBE:CAPS" role="macro">
<title>EMPATHY_TYPE_DISPATCHER_TUBE</title>
<indexterm zone="EMPATHY-TYPE-DISPATCHER-TUBE:CAPS"><primary>EMPATHY_TYPE_DISPATCHER_TUBE</primary></indexterm><programlisting>#define EMPATHY_TYPE_DISPATCHER_TUBE (empathy_dispatcher_tube_get_type ())
</programlisting>
<para>

</para></refsect2>
<refsect2 id="EmpathyDispatcherTube" role="struct">
<title>EmpathyDispatcherTube</title>
<indexterm zone="EmpathyDispatcherTube"><primary>EmpathyDispatcherTube</primary></indexterm><programlisting>typedef struct {
	EmpathyContact *initiator;
	TpChannel      *channel;
	guint           id;
	gboolean        activatable;
} EmpathyDispatcherTube;
</programlisting>
<para>

</para></refsect2>
<refsect2 id="empathy-dispatcher-new" role="function">
<title>empathy_dispatcher_new ()</title>
<indexterm zone="empathy-dispatcher-new"><primary>empathy_dispatcher_new</primary></indexterm><programlisting><link linkend="EmpathyDispatcher">EmpathyDispatcher</link>*  empathy_dispatcher_new              (void);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-dispatcher-channel-process" role="function">
<title>empathy_dispatcher_channel_process ()</title>
<indexterm zone="empathy-dispatcher-channel-process"><primary>empathy_dispatcher_channel_process</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_dispatcher_channel_process  (<link linkend="EmpathyDispatcher">EmpathyDispatcher</link> *dispatcher,
                                                         <link linkend="TpChannel">TpChannel</link> *channel);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>dispatcher</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>channel</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-dispatcher-tube-get-type" role="function">
<title>empathy_dispatcher_tube_get_type ()</title>
<indexterm zone="empathy-dispatcher-tube-get-type"><primary>empathy_dispatcher_tube_get_type</primary></indexterm><programlisting><link linkend="GType">GType</link>               empathy_dispatcher_tube_get_type    (void);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-dispatcher-tube-ref" role="function">
<title>empathy_dispatcher_tube_ref ()</title>
<indexterm zone="empathy-dispatcher-tube-ref"><primary>empathy_dispatcher_tube_ref</primary></indexterm><programlisting><link linkend="EmpathyDispatcherTube">EmpathyDispatcherTube</link>* empathy_dispatcher_tube_ref      (<link linkend="EmpathyDispatcherTube">EmpathyDispatcherTube</link> *tube);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>tube</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-dispatcher-tube-unref" role="function">
<title>empathy_dispatcher_tube_unref ()</title>
<indexterm zone="empathy-dispatcher-tube-unref"><primary>empathy_dispatcher_tube_unref</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_dispatcher_tube_unref       (<link linkend="EmpathyDispatcherTube">EmpathyDispatcherTube</link> *tube);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>tube</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-dispatcher-tube-process" role="function">
<title>empathy_dispatcher_tube_process ()</title>
<indexterm zone="empathy-dispatcher-tube-process"><primary>empathy_dispatcher_tube_process</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_dispatcher_tube_process     (<link linkend="EmpathyDispatcher">EmpathyDispatcher</link> *dispatcher,
                                                         <link linkend="EmpathyDispatcherTube">EmpathyDispatcherTube</link> *tube);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>dispatcher</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>tube</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-dispatcher-call-with-contact" role="function">
<title>empathy_dispatcher_call_with_contact ()</title>
<indexterm zone="empathy-dispatcher-call-with-contact"><primary>empathy_dispatcher_call_with_contact</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_dispatcher_call_with_contact
                                                        (<link linkend="EmpathyContact">EmpathyContact</link> *contact);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>contact</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-dispatcher-call-with-contact-id" role="function">
<title>empathy_dispatcher_call_with_contact_id ()</title>
<indexterm zone="empathy-dispatcher-call-with-contact-id"><primary>empathy_dispatcher_call_with_contact_id</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_dispatcher_call_with_contact_id
                                                        (<link linkend="McAccount">McAccount</link> *account,
                                                         const <link linkend="gchar">gchar</link> *contact_id);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>account</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>contact_id</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-dispatcher-chat-with-contact-id" role="function">
<title>empathy_dispatcher_chat_with_contact_id ()</title>
<indexterm zone="empathy-dispatcher-chat-with-contact-id"><primary>empathy_dispatcher_chat_with_contact_id</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_dispatcher_chat_with_contact_id
                                                        (<link linkend="McAccount">McAccount</link> *account,
                                                         const <link linkend="gchar">gchar</link> *contact_id);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>account</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>contact_id</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-dispatcher-chat-with-contact" role="function">
<title>empathy_dispatcher_chat_with_contact ()</title>
<indexterm zone="empathy-dispatcher-chat-with-contact"><primary>empathy_dispatcher_chat_with_contact</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_dispatcher_chat_with_contact
                                                        (<link linkend="EmpathyContact">EmpathyContact</link> *contact);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>contact</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>

<refsect1 id="EmpathyDispatcher.signal-details" role="signals">
<title role="signals.title">Signal Details</title>
<refsect2 id="EmpathyDispatcher-dispatch-channel"><title>The <literal>&quot;dispatch-channel&quot;</literal> signal</title>
<indexterm zone="EmpathyDispatcher-dispatch-channel"><primary>EmpathyDispatcher::dispatch-channel</primary></indexterm><programlisting><link linkend="void">void</link>                user_function                      (<link linkend="EmpathyDispatcher">EmpathyDispatcher</link> *empathydispatcher,
                                                        <link linkend="TpChannel">TpChannel</link>         *arg1,
                                                        <link linkend="gpointer">gpointer</link>           user_data)              : Run Last</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>empathydispatcher</parameter>&nbsp;:</term>
<listitem><simpara>the object which received the signal.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arg1</parameter>&nbsp;:</term>
<listitem><simpara>

</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2 id="EmpathyDispatcher-filter-channel"><title>The <literal>&quot;filter-channel&quot;</literal> signal</title>
<indexterm zone="EmpathyDispatcher-filter-channel"><primary>EmpathyDispatcher::filter-channel</primary></indexterm><programlisting><link linkend="void">void</link>                user_function                      (<link linkend="EmpathyDispatcher">EmpathyDispatcher</link> *empathydispatcher,
                                                        <link linkend="TpChannel">TpChannel</link>         *arg1,
                                                        <link linkend="gpointer">gpointer</link>           user_data)              : Run Last</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>empathydispatcher</parameter>&nbsp;:</term>
<listitem><simpara>the object which received the signal.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arg1</parameter>&nbsp;:</term>
<listitem><simpara>

</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2 id="EmpathyDispatcher-filter-tube"><title>The <literal>&quot;filter-tube&quot;</literal> signal</title>
<indexterm zone="EmpathyDispatcher-filter-tube"><primary>EmpathyDispatcher::filter-tube</primary></indexterm><programlisting><link linkend="void">void</link>                user_function                      (<link linkend="EmpathyDispatcher">EmpathyDispatcher</link>     *empathydispatcher,
                                                        <link linkend="EmpathyDispatcherTube">EmpathyDispatcherTube</link> *arg1,
                                                        <link linkend="gpointer">gpointer</link>               user_data)              : Run Last</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>empathydispatcher</parameter>&nbsp;:</term>
<listitem><simpara>the object which received the signal.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arg1</parameter>&nbsp;:</term>
<listitem><simpara>

</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>



</refentry>
