Inheritance diagram for org.openmobileis.modules.common.log.client.LogsSynchroListener:
Definition at line 62 of file LogsSynchroListener.java.
Public Member Functions | |
LogsSynchroListener () | |
void | setSynchroStatus (int status) |
int | getSynchroStatus () |
Return the synchro status of the listener. | |
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 | receiveStatusCommand (Status statusCommande, ContainerMessage initialCommand) throws OpenMSPException |
Event sent when the sync manager receives STATUS openML messages from the server. | |
void | sendData (Message message) throws OpenMSPException |
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 | receiveSyncCommand (ContainerMessage syncContainer, long newSyncNumber) throws OpenMSPException |
Event sent when the sync manager receives Sync command openML messages from the server. | |
void | receiveMapCommand (ContainerMessage mapContainer) throws OpenMSPException |
Event sent when the sync manager receives MAP command openML messages from the server. | |
void | receiveResultCommand (ContainerMessage resultContainer, ContainerMessage initialCommand) throws OpenMSPException |
Event sent when the sync manager receives RESULT openML messages from the server. | |
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. | |
void | endSync () |
Fire this event once the current synchro is ended. | |
int | getErrorStatus () |
Static Public Attributes | |
static final String | LOG_LISTENER_NAME = "FWKLogSynchroListener" |
|
Definition at line 219 of file LogsSynchroListener.java. |
|
Return the synchro status of the listener. The return value is defined by the OpenMSP Status class. Implements org.openmobileis.synchro.openmsp.client.OpenMSPSyncListener. Definition at line 88 of file LogsSynchroListener.java. |
|
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 185 of file LogsSynchroListener.java. Referenced by org.openmobileis.modules.common.log.client.LogsSynchroListener.endSync(), org.openmobileis.modules.common.log.client.LogsSynchroListener.LogsSynchroListener(), org.openmobileis.modules.common.log.client.LogsSynchroListener.receiveStatusCommand(), and org.openmobileis.modules.common.log.client.LogsSynchroListener.startSync(). |
|
Event sent when the sync manager receives MAP command openML messages from the server.
Implements org.openmobileis.synchro.openmsp.client.OpenMSPSyncListener. Definition at line 165 of file LogsSynchroListener.java. |
|
Event sent when the sync manager receives RESULT openML messages from the server.
Implements org.openmobileis.synchro.openmsp.client.OpenMSPSyncListener. Definition at line 175 of file LogsSynchroListener.java. |
|
Event sent when the sync manager receives STATUS openML messages from the server.
Implements org.openmobileis.synchro.openmsp.client.OpenMSPSyncListener. Definition at line 101 of file LogsSynchroListener.java. References org.openmobileis.modules.common.log.client.LogsSynchroListener.getSyncName(). |
|
Event sent when the sync manager receives Sync command openML messages from the server.
Implements org.openmobileis.synchro.openmsp.client.OpenMSPSyncListener. Definition at line 156 of file LogsSynchroListener.java. |