Package thirdparty :: Package conduit :: Module SyncmlModule
[hide private]
[frames] | no frames]

Module SyncmlModule

source code

The original of this file was taken from a Conduit branch of John Carr (http://git.gnome.org/cgit/conduit/log/?h=syncml), It was modified significantly for PISI use by Michael Pilgermann.

Major keys are:

The entire implementation (of libsyncml) is asynchronous. We just tell the server, we want to sync - then the server comes back at some point to ask for further information. So it's all based on handlers, which have to be registered in the beginning - all the work has to be done in there.

Classes [hide private]
  Log
There was this nice logging facility in the original
  SyncmlDataProvider
This class is doing all the work
  HttpClient
Encapsulates the connection establishment via HTTP
  ContactsProvider
Encapsulated the data handling (VCF)
  CalendarProvider
Encapsulated the data handling (ICS)
  SyncmlContactsInterface
Public Interface that should be used from outside
  SyncmlCalendarInterface
Public Interface that should be used from outside
Variables [hide private]
  SYNCML_LOGFILE = '/tmp/pisi-syncml.log'
Log file for Syncml module debug output
  log = Log()
  __package__ = 'thirdparty.conduit'