com.ibm.mobileservices.isync
Interface ISyncConfigStore


public interface ISyncConfigStore

This interface represents a persisted configuration store and its containing subscription sets.


Method Summary
 void close()
          Closes the config store.
 ISyncSubscriptionSet[] getSubscriptionSets()
          Returns an array of ISyncSubscriptionSet instances describing all subscription sets available for synchronization.
 ISyncDriver getSyncDriver()
          Gets a synchronization driver instance.
 void purge()
          Removes all configuration information.
 

Method Detail

getSubscriptionSets

public ISyncSubscriptionSet[] getSubscriptionSets()
                                           throws ISyncException
Returns an array of ISyncSubscriptionSet instances describing all subscription sets available for synchronization.

Returns:
array of ISyncSubscriptionSets
Throws:
throws - ISyncException with code:
  • EXC_ILLEGAL_STATE
  • EXC_CONFIG_ERROR
ISyncException
See Also:
ISyncSubscriptionSet

purge

public void purge()
           throws ISyncException
Removes all configuration information. The config store will be in its initial state.

Throws:
throws - ISyncException with code:
  • EXC_ILLEGAL_STATE
  • EXC_CONFIG_ERROR
ISyncException

close

public void close()
           throws ISyncException
Closes the config store.

Throws:
throws - ISyncException with code:
  • EXC_ILLEGAL_STATE
  • EXC_CONFIG_ERROR
ISyncException

getSyncDriver

public ISyncDriver getSyncDriver()
                          throws ISyncException
Gets a synchronization driver instance.

Returns:
an ISyncDriver object
Throws:
throws - ISyncException with code:
  • EXC_ILLEGAL_STATE
  • EXC_CONFIG_ERROR
ISyncException
See Also:
ISyncDriver


(c) Copyright IBM Corp. 2000, 2002 All Rights Reserved.