|
||||||||||
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.synchro.openmsp.client.core.test.TestSynchroListener
Title: OpenMobileIS project source
Description:
Field Summary |
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 | |
TestSynchroListener(java.lang.String name)
|
Method Summary | |
void |
endSync()
Fire this event once the current synchro is ended |
protected JournalLogRenderer |
getJournalLogRenderer()
|
java.lang.String |
getSyncName()
Return the name used to identiy the of the listener in the synchro processus. |
void |
notifyFailure()
|
void |
receiveGetCommand(ContainerMessage getContainer,
long newSyncNumber)
Event sent when the sync manager receives GET command openML messages from the server |
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 |
startSync(int synchroType)
|
Methods inherited from class org.openmobileis.synchro.openmsp.client.DefaultOpenMSPSyncListener |
addCredentialToCommand, equals, getSynchroStatus, hashCode, initListener, isSyncOK, notifySynchroFailure, receiveAddCommand, receiveDeleteCommand, receiveGetCommand, receiveReplaceCommand, receiveSyncCommand, receiveSyncItem, setSynchroStatus, startSync |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestSynchroListener(java.lang.String name)
Method Detail |
public void sendData(Message message) throws OpenMSPException
OpenMSPSyncListener
OpenMSPException
public java.lang.String getSyncName()
OpenMSPSyncListener
public void notifyFailure()
public void startSync(int synchroType) throws OpenMSPException
OpenMSPException
public void endSync() throws OpenMSPException
OpenMSPSyncListener
endSync
in interface OpenMSPSyncListener
endSync
in class DefaultOpenMSPSyncListener
OpenMSPException
public void receiveMapCommand(ContainerMessage mapContainer) throws OpenMSPException
receiveMapCommand
in interface OpenMSPSyncListener
receiveMapCommand
in class DefaultOpenMSPSyncListener
OpenMSPException
public void receiveGetCommand(ContainerMessage getContainer, long newSyncNumber) throws OpenMSPException
OpenMSPException
public void receiveResultCommand(ContainerMessage resultContainer, ContainerMessage initialCommand) throws OpenMSPException
receiveResultCommand
in interface OpenMSPSyncListener
receiveResultCommand
in class DefaultOpenMSPSyncListener
OpenMSPException
public void receiveStatusCommand(Status statusCommande, ContainerMessage initialCommand) throws OpenMSPException
OpenMSPException
protected JournalLogRenderer getJournalLogRenderer()
getJournalLogRenderer
in class DefaultOpenMSPSyncListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |