com.ibm.mobileservices.isync
Interface ISyncConfigStore

All Known Implementing Classes:
MIDPISyncProvider

public interface ISyncConfigStore

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


Method Summary
 void close()
          Close the config store.
 com.ibm.mobileservices.isync.ISyncSubscriptionSet[] getSubscriptionSets()
          Return an array of ISyncSubscriptionSet instances describing all subscription sets available for synchronization.
 com.ibm.mobileservices.isync.ISyncDriver getSyncDriver()
          Get a synchronization driver instance.
 void purge()
          Remove all configuration information.
 

Method Detail

getSubscriptionSets

public com.ibm.mobileservices.isync.ISyncSubscriptionSet[] getSubscriptionSets()
                                                                        throws ISyncException
Return 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
Remove 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
Close the config store.

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

getSyncDriver

public com.ibm.mobileservices.isync.ISyncDriver getSyncDriver()
                                                       throws ISyncException
Get a synchronization driver instance.

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


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