Package conduit :: Module Synchronization
[hide private]

Module Synchronization

source code

Holds class used for the actual synchronisation phase

Copyright: John Stowers, 2006 License: GPLv2

Classes [hide private]
  SyncManager
Given a dictionary of relationships this class synchronizes the relevant sinks and sources.
  _ThreadedWorker
Aa python thread, Base class for refresh and syncronization operations
  SyncWorker
Class designed to be operated within a thread used to perform the synchronization operation.
  RefreshDataProviderWorker
Refreshes a single dataprovider, handling any errors, etc
  BlockingFunctionCallWorker
Calls the provided (blocking) function in a new thread.
  DeletedData
Simple wrapper around a deleted item.
Functions [hide private]
 
put_data(source, sink, sourceData, sourceDataRid, overwrite)
Puts sourceData into sink, overwrites if overwrite is True.
source code
 
delete_data(source, sink, dataLUID)
Deletes data from sink and updates the mapping DB
source code
Variables [hide private]
  log = logging.getLogger("Syncronization")
Function Details [hide private]

put_data(source, sink, sourceData, sourceDataRid, overwrite)

source code 
Puts sourceData into sink, overwrites if overwrite is True. Updates the mappingDB