Inheritance diagram for org.openmobileis.synchro.openmsp.client.core.test.TestSynchroListener:
Definition at line 42 of file TestSynchroListener.java.
Public Member Functions | |
TestSynchroListener (String name) | |
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. | |
String | getSyncName () |
Return the name used to identiy the of the listener in the synchro processus. | |
void | notifyFailure () |
void | startSync (int synchroType) throws OpenMSPException |
void | endSync () throws OpenMSPException |
Fire this event once the current synchro is ended. | |
void | receiveMapCommand (ContainerMessage mapContainer) throws OpenMSPException |
Event sent when the sync manager receives MAP command openML messages from the server. | |
void | receiveGetCommand (ContainerMessage getContainer, long newSyncNumber) throws OpenMSPException |
Event sent when the sync manager receives GET 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. | |
void | receiveStatusCommand (Status statusCommande, ContainerMessage initialCommand) throws OpenMSPException |
Event sent when the sync manager receives STATUS openML messages from the server. | |
Protected Member Functions | |
JournalLogRenderer | getJournalLogRenderer () |
String org.openmobileis.synchro.openmsp.client.core.test.TestSynchroListener.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 61 of file TestSynchroListener.java.
void org.openmobileis.synchro.openmsp.client.core.test.TestSynchroListener.receiveMapCommand | ( | ContainerMessage | mapContainer | ) | throws OpenMSPException |
Event sent when the sync manager receives MAP command openML messages from the server.
ContainerMessage | container : container containing the message | |
long | newSessionID : the session id use for this synchro for this listener message. |
Reimplemented from org.openmobileis.synchro.openmsp.client.DefaultOpenMSPSyncListener.
Definition at line 87 of file TestSynchroListener.java.
void org.openmobileis.synchro.openmsp.client.core.test.TestSynchroListener.receiveGetCommand | ( | ContainerMessage | getContainer, | |
long | newSyncNumber | |||
) | throws OpenMSPException |
Event sent when the sync manager receives GET command openML messages from the server.
ContainerMessage | container : container containing the message | |
long | newSessionID : the session id use for this synchro for this listener message. |
Definition at line 96 of file TestSynchroListener.java.
void org.openmobileis.synchro.openmsp.client.core.test.TestSynchroListener.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. |
Reimplemented from org.openmobileis.synchro.openmsp.client.DefaultOpenMSPSyncListener.
Definition at line 105 of file TestSynchroListener.java.
void org.openmobileis.synchro.openmsp.client.core.test.TestSynchroListener.receiveStatusCommand | ( | Status | statusCommande, | |
ContainerMessage | initialCommand | |||
) | 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. |
Implements org.openmobileis.synchro.openmsp.client.OpenMSPSyncListener.
Definition at line 114 of file TestSynchroListener.java.