org.openmobileis.module.profiles.terminal.OpenMSPProfileSyncListener Class Reference

Inheritance diagram for org.openmobileis.module.profiles.terminal.OpenMSPProfileSyncListener:

org.openmobileis.synchro.openmsp.client.DefaultOpenMSPSyncListener org.openmobileis.synchro.openmsp.client.OpenMSPSyncListener List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: Listener for ProfilService (manage profil synchronisation) Manager priorities for OpenMSP messages (sequence).

registered by EmbeddedProfilChannelManager

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

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.


Member Function Documentation

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.

Parameters:
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.

Parameters:
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().


The documentation for this class was generated from the following file:
Generated on Mon Dec 4 11:03:39 2006 for OpenMobileIS by  doxygen 1.5.1-p1