Inheritance diagram for org.openmobileis.module.profiles.terminal.OpenMSPProfileSyncListener:
registered by EmbeddedProfilChannelManager
Definition at line 61 of file OpenMSPProfileSyncListener.java.
Public Member Functions | |
OpenMSPProfileSyncListener () | |
void | receiveResultCommand (ContainerMessage resultContainer, ContainerMessage initialCommand) throws OpenMSPException |
Event sent when the sync manager receives RESULT openML messages from the server. | |
void | receiveStatusCommand (Status statusCommande, ContainerMessage initialContenaire) throws OpenMSPException |
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. | |
String | getSyncName () |
Return the name used to identiy the of the listener in the synchro processus. | |
void | startSync (Credential cred, SynchroDescriptor synchrodescriptor) throws OpenMSPException |
Fire this event once a synchro is starting. | |
Static Public Attributes | |
static final String | profilSynchroSourceName = "ProfilSyncListener" |
static final String | profilSynchroTargetName = "ProfilSynchroTarget" |
Protected Member Functions | |
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 org.openmobileis.module.profiles.terminal.OpenMSPProfileSyncListener.receiveResultCommand | ( | ContainerMessage | resultContainer, | |
ContainerMessage | initialCommand | |||
) | throws OpenMSPException |
Event sent when the sync manager receives RESULT openML messages from the server.
Result | resultCommande : resultCommande containing the result of a command | |
long | newSessionID : the session id use for this synchro for this listener message. | |
ContainerMessage | : command sent that generate the status. |
Reimplemented from org.openmobileis.synchro.openmsp.client.DefaultOpenMSPSyncListener.
Definition at line 74 of file OpenMSPProfileSyncListener.java.
References org.openmobileis.common.user.profile.Profile.equals(), org.openmobileis.synchro.openmsp.protocol.Result.getTargetRef(), and org.openmobileis.module.profiles.terminal.OpenMSPProfileSyncListener.profilSynchroSourceName.
void org.openmobileis.module.profiles.terminal.OpenMSPProfileSyncListener.receiveStatusCommand | ( | Status | statusCommande, | |
ContainerMessage | initialContenaire | |||
) | throws OpenMSPException |
Event sent when the sync manager receives STATUS openML messages from the server.
Status | statusCommande : resultCommande containing the Status of a command | |
long | newSessionID : the session id use for this synchro for this listener message. | |
ContainerMessage | : command sent that generate the status. |
Implements org.openmobileis.synchro.openmsp.client.OpenMSPSyncListener.
Definition at line 101 of file OpenMSPProfileSyncListener.java.
References org.openmobileis.synchro.openmsp.protocol.AbstractCommand.getElementType().
String org.openmobileis.module.profiles.terminal.OpenMSPProfileSyncListener.getSyncName | ( | ) |
Return the name used to identiy the of the listener in the synchro processus.
This name correspond to the source in the OpenMS protocol.
Implements org.openmobileis.synchro.openmsp.client.OpenMSPSyncListener.
Definition at line 150 of file OpenMSPProfileSyncListener.java.
References org.openmobileis.module.profiles.terminal.OpenMSPProfileSyncListener.profilSynchroSourceName.
Referenced by org.openmobileis.module.terminal.ModuleManager.initModule(), org.openmobileis.module.profiles.terminal.OpenMSPProfileSyncListener.manageReturnStatusLog(), and org.openmobileis.module.profiles.terminal.OpenMSPProfileSyncListener.sendData().