Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 331a6bf34b79ebee0665f953f5e37620 > files > 246

pyrite-0.9.3-4mdk.i586.rpm

<!-- $Id: ref-conduits.sgml,v 1.1 1999/05/24 09:25:26 rob Exp $ -->
<chapter id="ref-conduits">
  <title>Conduits</title>

  <para>
    The process of synchronizing handheld and desktop involves many
    different steps, some of which involve common operations like
    backup and installation, and some of which involve the
    synchronization of particular applications on each side of the
    connection.  Support for synchronization operations is provided by
    plug-ins in the <literal/Conduit/ collection.  The core code for
    all <literal/Conduit/ plug-ins is found in the
    <classname/Pyrite.Conduit/ module; the base class for
    <literal/Conduit/ objects is <classname/Pyrite.Conduit.Conduit/.
  </para>
  
  <sect1 id="ref-conduits-conduit">
    <title>Class: Conduit</title>

    <para>
      The <classname/Conduit/ class is a subclass of
      <classname/Pyrite.Plugin/, which is a subclass of
      <classname/Sulfur.Plugin/.
    </para>
    
    <sect2 id="ref-conduits-conduit-methods">
      <title>Methods</title>
      
      <variablelist>
	<varlistentry>
	  <term><function/__call__/ (<parameter/app/)</term>
	  <listitem>
	    <para>Invoke the conduit.  The single parameter is an
	      object of class <classname/Pyrite.Application/ (or a
	      subclass thereof), which the conduit may use to access
	      other Pyrite facilities.</para>
	  </listitem>
	</varlistentry>
      </variablelist>
    </sect2>
  </sect1>
</chapter>

<!--Local Variables: -->
<!--sgml-parent-document: ("prg.sgml" "chapter") -->
<!--sgml-doctype: "prg.sgml" -->
<!--End: -->