Sophie

Sophie

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

pyrite-0.9.3-4mdk.i586.rpm

<HTML
><HEAD
><TITLE
>Conduits</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.42"><LINK
REL="HOME"
TITLE="Pyrite Programmers Guide"
HREF="book1.html"><LINK
REL="UP"
TITLE="Reference"
HREF="p45.html"><LINK
REL="PREVIOUS"
TITLE="Handheld Application Support"
HREF="c777.html"></HEAD
><BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Pyrite Programmers Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="c777.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
>&nbsp;</TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="CHAPTER"
><H1
><A
NAME="REF-CONDUITS"
>Chapter 5. Conduits</A
></H1
><P
>    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 <TT
CLASS="LITERAL"
>Conduit</TT
> collection.  The core code for
    all <TT
CLASS="LITERAL"
>Conduit</TT
> plug-ins is found in the
    <TT
CLASS="CLASSNAME"
>Pyrite.Conduit</TT
> module; the base class for
    <TT
CLASS="LITERAL"
>Conduit</TT
> objects is <TT
CLASS="CLASSNAME"
>Pyrite.Conduit.Conduit</TT
>.
  </P
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="REF-CONDUITS-CONDUIT"
>Class: Conduit</A
></H1
><P
>      The <TT
CLASS="CLASSNAME"
>Conduit</TT
> class is a subclass of
      <TT
CLASS="CLASSNAME"
>Pyrite.Plugin</TT
>, which is a subclass of
      <TT
CLASS="CLASSNAME"
>Sulfur.Plugin</TT
>.
    </P
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="REF-CONDUITS-CONDUIT-METHODS"
>Methods</A
></H2
><P
></P
><DL
><DT
><TT
CLASS="FUNCTION"
>__call__</TT
> (<TT
CLASS="PARAMETER"
><I
>app</I
></TT
>)</DT
><DD
><P
>Invoke the conduit.  The single parameter is an
	      object of class <TT
CLASS="CLASSNAME"
>Pyrite.Application</TT
> (or a
	      subclass thereof), which the conduit may use to access
	      other Pyrite facilities.</P
></DD
></DL
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="c777.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="book1.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Handheld Application Support</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="p45.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>&nbsp;</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>