|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openmobileis.synchro.openmsp.client.EmptyOpenMSPSyncListener
Field Summary |
Fields inherited from interface org.openmobileis.synchro.openmsp.client.OpenMSPSyncListener |
SYNCHRO_FAILLED, SYNCHRO_OK |
Constructor Summary | |
EmptyOpenMSPSyncListener()
|
Method Summary | |
void |
endSync()
Fire this event once the current synchro is ended |
int |
getSynchroStatus()
Return the synchro status of the listener. |
void |
initListener()
Call during listener registering. |
boolean |
isSyncOK()
return true if the synchronisation is OK for the listener. |
void |
notifySynchroFailure()
The listener is called if the syncML command processing failed |
void |
receiveGetCommand(Credential cred,
ContainerMessage replaceContainer,
long newSyncNumber)
Call when the server answer container contains a GET command. |
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 |
receiveSyncCommand(ContainerMessage syncContainer,
long newSyncNumber)
Event sent when the sync manager receives Sync command 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(Credential cred,
SynchroDescriptor synchrodescriptor)
Fire this event once a synchro is starting |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.openmobileis.synchro.openmsp.client.OpenMSPSyncListener |
getSyncName |
Constructor Detail |
public EmptyOpenMSPSyncListener()
Method Detail |
public void initListener() throws OpenMSPException
OpenMSPSyncListener
initListener
in interface OpenMSPSyncListener
OpenMSPException
public void endSync() throws OpenMSPException
OpenMSPSyncListener
endSync
in interface OpenMSPSyncListener
OpenMSPException
public int getSynchroStatus()
OpenMSPSyncListener
getSynchroStatus
in interface OpenMSPSyncListener
Status
public boolean isSyncOK()
OpenMSPSyncListener
isSyncOK
in interface OpenMSPSyncListener
public void notifySynchroFailure()
OpenMSPSyncListener
notifySynchroFailure
in interface OpenMSPSyncListener
public void receiveMapCommand(ContainerMessage mapContainer) throws OpenMSPException
OpenMSPSyncListener
receiveMapCommand
in interface OpenMSPSyncListener
OpenMSPException
public void receiveResultCommand(ContainerMessage resultContainer, ContainerMessage initialCommand) throws OpenMSPException
OpenMSPSyncListener
receiveResultCommand
in interface OpenMSPSyncListener
OpenMSPException
public void receiveStatusCommand(Status statusCommande, ContainerMessage initialCommand) throws OpenMSPException
OpenMSPSyncListener
receiveStatusCommand
in interface OpenMSPSyncListener
OpenMSPException
public void receiveSyncCommand(ContainerMessage syncContainer, long newSyncNumber) throws OpenMSPException
OpenMSPSyncListener
receiveSyncCommand
in interface OpenMSPSyncListener
OpenMSPException
public void receiveGetCommand(Credential cred, ContainerMessage replaceContainer, long newSyncNumber) throws OpenMSPException
receiveGetCommand
in interface OpenMSPSyncListener
OpenMSPException
public void sendData(Message message) throws OpenMSPException
OpenMSPSyncListener
sendData
in interface OpenMSPSyncListener
OpenMSPException
public void startSync(Credential cred, SynchroDescriptor synchrodescriptor) throws OpenMSPException
OpenMSPSyncListener
startSync
in interface OpenMSPSyncListener
OpenMSPException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |