sync4j.syncclient.spds
Class SyncManager

java.lang.Object
  extended bysync4j.syncclient.spds.SyncManager

public class SyncManager
extends java.lang.Object

This is a wrapper to create a istance of SyncManagerImpl


Constructor Summary
SyncManager(java.lang.String dataStoreName, java.util.Hashtable properties)
          Creates a SyncManager.
 
Method Summary
 void sync()
          Synchronize data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncManager

public SyncManager(java.lang.String dataStoreName,
                   java.util.Hashtable properties)
Creates a SyncManager. The datastore is identified by the dataStoreName parameter

Parameters:
dataStoreName - The dataStore to Sync
Method Detail

sync

public void sync()
          throws sync4j.syncclient.spds.SyncException,
                 sync4j.syncclient.spds.AuthenticationException,
                 sync4j.syncclient.spds.UpdateException
Synchronize data.

Throws:
SyncException - if an error occurs during synchronization
AuthenticationException - if the server responded with "non authorized" return code
sync4j.syncclient.spds.UpdateException


Copyright © 2004 Sync4j.