org.openmobileis.synchro.openmsp.client
Class SynchroMetaDataListener
java.lang.Object
org.openmobileis.synchro.openmsp.client.DefaultOpenMSPSyncListener
org.openmobileis.synchro.openmsp.client.SynchroMetaDataListener
- All Implemented Interfaces:
- OpenMSPSyncListener
- public class SynchroMetaDataListener
- extends DefaultOpenMSPSyncListener
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 |
SynchroMetaDataListener
public SynchroMetaDataListener()
getTerminalMetadata
public java.io.Serializable getTerminalMetadata()
setTerminalMetadata
public void setTerminalMetadata(java.io.Serializable terminalMetadata)
getServerMetadata
public java.io.Serializable getServerMetadata()
setServerMetadata
public void setServerMetadata(java.io.Serializable serverMetadata)
getSyncName
public java.lang.String getSyncName()
- Description copied from interface:
OpenMSPSyncListener
- Return the name used to identiy the of the listener in the synchro processus.
This name correspond to the source in the OpenMS protocol.
startSync
public void startSync(Credential cred,
SynchroDescriptor synchrodescriptor)
throws OpenMSPException
- Description copied from class:
DefaultOpenMSPSyncListener
- Fire this event once a synchro is starting
- Specified by:
startSync
in interface OpenMSPSyncListener
- Overrides:
startSync
in class DefaultOpenMSPSyncListener
- Throws:
OpenMSPException
receiveResultCommand
public void receiveResultCommand(ContainerMessage resultContainer,
ContainerMessage initialCommand)
throws OpenMSPException
- Description copied from class:
DefaultOpenMSPSyncListener
- Event sent when the sync manager receives RESULT openML messages from the server
- Specified by:
receiveResultCommand
in interface OpenMSPSyncListener
- Overrides:
receiveResultCommand
in class DefaultOpenMSPSyncListener
- Throws:
OpenMSPException
receiveStatusCommand
public void receiveStatusCommand(Status statusCommande,
ContainerMessage initialCommand)
throws OpenMSPException
- Description copied from interface:
OpenMSPSyncListener
- Event sent when the sync manager receives STATUS openML messages from the server
- Throws:
OpenMSPException
sendData
public void sendData(Message message)
throws OpenMSPException
- Description copied from interface:
OpenMSPSyncListener
- 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.
- Throws:
OpenMSPException
Copyright 2006 OpenMobileIS. All Rights Reserved.