|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openmobileis.synchro.openmsp.client.DefaultOpenMSPSyncListener
org.openmobileis.module.terminal.ModuleJarSyncListener
Title: OpenMobileIS project source
Description:
Field Summary | |
protected java.lang.String |
jarPath
|
protected ProfileModule |
module
|
protected java.lang.String |
moduleName
|
protected java.lang.String |
synchroPath
|
protected java.lang.String |
xmlPath
|
Fields inherited from class org.openmobileis.synchro.openmsp.client.DefaultOpenMSPSyncListener |
ADD_ERROR_MESSAGE, DELETE_ERROR_MESSAGE, ITEM_ERROR_MESSAGE, SYNC_ERROR_MESSAGE, SYNC_UNAUTHORIZED_MESSAGE, UPDATE_ERROR_MESSAGE |
Fields inherited from interface org.openmobileis.synchro.openmsp.client.OpenMSPSyncListener |
SYNCHRO_FAILLED, SYNCHRO_OK |
Constructor Summary | |
ModuleJarSyncListener()
|
Method Summary | |
java.lang.String |
getSyncName()
Return the name used to identiy the of the listener in the synchro processus. |
void |
receiveMapCommand(ContainerMessage mapContainer)
Event sent when the sync manager receives MAP command openML messages from the server |
void |
receiveResultCommand(ContainerMessage resultContainer,
ContainerMessage initialCommand)
Event sent when the sync manager receives RESULT openML messages from the server |
void |
receiveStatusCommand(Status statusCommande,
ContainerMessage initialCommand)
Event sent when the sync manager receives STATUS openML messages from the server |
void |
sendData(Message message)
Event sent when the sync manager sends a openML message to the server The specified message is the message use to construct the synchro message This method fill the message with listener commande container. |
void |
setModule(ProfileModule module)
|
void |
startSync(Credential cred,
SynchroDescriptor synchrodescriptor)
Fire this event once a synchro is starting |
Methods inherited from class org.openmobileis.synchro.openmsp.client.DefaultOpenMSPSyncListener |
addCredentialToCommand, endSync, equals, getJournalLogRenderer, getSynchroStatus, hashCode, initListener, isSyncOK, notifySynchroFailure, receiveAddCommand, receiveDeleteCommand, receiveGetCommand, receiveReplaceCommand, receiveSyncCommand, receiveSyncItem, setSynchroStatus |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String jarPath
protected java.lang.String synchroPath
protected java.lang.String moduleName
protected ProfileModule module
protected java.lang.String xmlPath
Constructor Detail |
public ModuleJarSyncListener()
Method Detail |
public void setModule(ProfileModule module)
public void startSync(Credential cred, SynchroDescriptor synchrodescriptor) throws OpenMSPException
DefaultOpenMSPSyncListener
startSync
in interface OpenMSPSyncListener
startSync
in class DefaultOpenMSPSyncListener
OpenMSPException
public void sendData(Message message) throws OpenMSPException
OpenMSPSyncListener
OpenMSPException
public java.lang.String getSyncName()
OpenMSPSyncListener
public void receiveMapCommand(ContainerMessage mapContainer) throws OpenMSPException
DefaultOpenMSPSyncListener
receiveMapCommand
in interface OpenMSPSyncListener
receiveMapCommand
in class DefaultOpenMSPSyncListener
OpenMSPException
public void receiveResultCommand(ContainerMessage resultContainer, ContainerMessage initialCommand) throws OpenMSPException
DefaultOpenMSPSyncListener
receiveResultCommand
in interface OpenMSPSyncListener
receiveResultCommand
in class DefaultOpenMSPSyncListener
OpenMSPException
public void receiveStatusCommand(Status statusCommande, ContainerMessage initialCommand) throws OpenMSPException
OpenMSPSyncListener
OpenMSPException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |