|
||||||||||
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.profiles.terminal.OpenMSPProfileSyncListener
Title: OpenMobileIS project source
Description: Listener for ProfilService (manage profil synchronisation)
Manager priorities for OpenMSP messages (sequence)
registered by EmbeddedProfilChannelManager
Field Summary | |
static java.lang.String |
profilSynchroSourceName
|
static java.lang.String |
profilSynchroTargetName
|
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 | |
OpenMSPProfileSyncListener()
|
Method Summary | |
java.lang.String |
getSyncName()
Return the name used to identiy the of the listener in the synchro processus. |
protected void |
manageReturnStatusLog(int statusCode,
int cmlType,
ContainerMessage container)
notify when receiving a status commnand the status code, the CMLElement type of the send command and the container containing the command. |
void |
receiveResultCommand(ContainerMessage resultContainer,
ContainerMessage initialCommand)
Event sent when the sync manager receives RESULT openML messages from the server |
void |
receiveStatusCommand(Status statusCommande,
ContainerMessage initialContenaire)
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(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, receiveMapCommand, receiveReplaceCommand, receiveSyncCommand, receiveSyncItem, setSynchroStatus |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String profilSynchroSourceName
public static final java.lang.String profilSynchroTargetName
Constructor Detail |
public OpenMSPProfileSyncListener()
Method Detail |
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 initialContenaire) throws OpenMSPException
OpenMSPSyncListener
OpenMSPException
public void sendData(Message message)
OpenMSPSyncListener
public java.lang.String getSyncName()
OpenMSPSyncListener
public void startSync(Credential cred, SynchroDescriptor synchrodescriptor) throws OpenMSPException
DefaultOpenMSPSyncListener
startSync
in interface OpenMSPSyncListener
startSync
in class DefaultOpenMSPSyncListener
OpenMSPException
protected void manageReturnStatusLog(int statusCode, int cmlType, ContainerMessage container)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |