org.openmobileis.synchro.algo.replication
Class AtomicObjectArrayReplication
java.lang.Object
org.openmobileis.synchro.algo.replication.AtomicObjectArrayReplication
- All Implemented Interfaces:
- Orderable
- public class AtomicObjectArrayReplication
- extends java.lang.Object
- implements Orderable
Title: OpenMobileIS project source
Description:
- Since:
- JDK 1.1
- Version:
- 1.0.
- Author:
- Philippe Delrieu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
conflicResolver
protected SynchroConflicResolver conflicResolver
AtomicObjectArrayReplication
public AtomicObjectArrayReplication(SynchroConflicResolver conflicResolver)
replicates
public ReplicationReturnData replicates(SynchroAtomicObject[] listAOClient,
SynchroAtomicObject[] listAOServ)
throws SynchroException
- Compare client and server SynchroAtomicObject list and return all event associated to manage client or server update.
- Throws:
SynchroException
compareTo
public int compareTo(java.lang.Object AO1,
java.lang.Object AO2)
- Description copied from interface:
Orderable
- Compare two objects and order them.
- Specified by:
compareTo
in interface Orderable
- Parameters:
AO1
- first objectAO2
- second object
- Returns:
- < 0 if p1 < p2, 0 if equal, > 0 if p1 > p2
Copyright 2006 OpenMobileIS. All Rights Reserved.