Inheritance diagram for org.openmobileis.synchro.openmsp.client.OpenMSPSynchroManager:
Definition at line 61 of file OpenMSPSynchroManager.java.
Public Member Functions | |
String | getProcessorName () |
void | notifyFailure (String listernerName) |
OpenMSPSyncListener | getListenerByName (String listenerName) |
Return the registered listener with specified name. | |
OpenMSPSyncListener | getModuleListenerByName (String listenerName) |
Return the registered module listener with specified name. | |
void | doSynchro (Credential cred, SynchroDescriptor descriptor) throws SynchroException |
void | registerSynchroListenerAddNotifier (SynchroListenerAddNotifier listener) |
register a listener that will be notified when a synchrolistener is added. | |
void | addListener (OpenMSPSyncListener listener, String[] depends) |
register a new listener and its depends that will participate to the synchro. | |
void | addModuleListener (OpenMSPSyncListener listener, String[] depends) |
register a new listener and its depends that will participate to the module synchro. | |
String | getLastSynchroLogin () |
String | getSynchroUserAgent (SynchroDescriptor descriptor) |
return the user agent to use with synchronisation. | |
int | getGlobalSynchroStatut () |
Static Public Member Functions | |
static OpenMSPSynchroManager | getManager () |
Static Public Attributes | |
static final String | OPENMSPPROCESSORNAME = "OpenMSPSync" |
OpenMSPSyncListener org.openmobileis.synchro.openmsp.client.OpenMSPSynchroManager.getListenerByName | ( | String | listenerName | ) |
Return the registered listener with specified name.
listenerName |
Definition at line 113 of file OpenMSPSynchroManager.java.
References org.openmobileis.synchro.openmsp.client.core.ListenerOrdonancer.getListenerByName().
OpenMSPSyncListener org.openmobileis.synchro.openmsp.client.OpenMSPSynchroManager.getModuleListenerByName | ( | String | listenerName | ) |
Return the registered module listener with specified name.
Module listener participate to module synchro Module synchro is the synchro of module specific files to manage module update.
listenerName |
Definition at line 124 of file OpenMSPSynchroManager.java.
References org.openmobileis.synchro.openmsp.client.core.ListenerOrdonancer.getListenerByName().
void org.openmobileis.synchro.openmsp.client.OpenMSPSynchroManager.addListener | ( | OpenMSPSyncListener | listener, | |
String[] | depends | |||
) |
register a new listener and its depends that will participate to the synchro.
Listener's depends are an array of listener name that must be synchronized before the new listener. There is no specific order to register the listener and its dependance. If the SynchroListenerAddNotifier is registered the listener is registered only if the isBlocking() call return true. In other case nothing is done. The listener initListener() method is call before in all case.
listener | : listener to register | |
depends | : list of listener name |
Definition at line 217 of file OpenMSPSynchroManager.java.
References org.openmobileis.synchro.openmsp.client.core.ListenerOrdonancer.addListener(), org.openmobileis.synchro.openmsp.client.OpenMSPSyncListener.initListener(), org.openmobileis.database.fastobjectdb.synchro.client.SynchroListenerAddNotifier.isBlocking(), and org.openmobileis.database.fastobjectdb.synchro.client.SynchroListenerAddNotifier.notifyAddListener().
void org.openmobileis.synchro.openmsp.client.OpenMSPSynchroManager.addModuleListener | ( | OpenMSPSyncListener | listener, | |
String[] | depends | |||
) |
register a new listener and its depends that will participate to the module synchro.
Module synchro is the synchro of module specific files to manage module update. Listener's depends are an array of listener name that must be synchronized before the new listener. Thier is no specific order to register the listener and its dependance.
listener | : listener to register | |
depends | : list of listener name |
Definition at line 247 of file OpenMSPSynchroManager.java.
References org.openmobileis.synchro.openmsp.client.core.ListenerOrdonancer.addListener().
String org.openmobileis.synchro.openmsp.client.OpenMSPSynchroManager.getSynchroUserAgent | ( | SynchroDescriptor | descriptor | ) |
return the user agent to use with synchronisation.
The user agent can be defined with the property org.openmobileis.synchro.direct.useragent. or if not set, it's constructed with plateform information. default user agent : OpenMSPPlug-<OpenMobileISMajorVersion>.<OpenMobileISMinorVersion>-<OS>[<OSVersion>]-<user language>="">-<synchro type="" if="" present>=""> The synchro type is defined with the property OpenMSPsynchrotype of the descriptor.
Definition at line 294 of file OpenMSPSynchroManager.java.
References org.openmobileis.common.context.Plateform.getOpenMobileISMajorVersion(), org.openmobileis.common.context.Plateform.getOpenMobileISMinorVersion(), org.openmobileis.common.context.Plateform.getOS(), org.openmobileis.common.context.Plateform.getOSVersion(), and org.openmobileis.synchro.client.SynchroDescriptor.getProperty().