Package de.fu_berlin.inf.dpp.whiteboard.sxe.records

Examples of de.fu_berlin.inf.dpp.whiteboard.sxe.records.SetRecord.apply()


  protected void applyNullRecord(SetRecord toConflict) {
    SetRecord setRecord = new SetRecord(toConflict.getTarget(),
        toConflict.getVersion());
    // let's apply the conflict locally, too, to ensure a same version
    setRecord.apply(document);
  }

  /**
   * This method sends a SetRecord to all peers that conflicts with the
   * provided one so that this will be reverted to a previous version. This
View Full Code Here


  protected void applyLocallyAndsentConflictingSetRecord(SetRecord toConflict) {
    LinkedList<IRecord> records = new LinkedList<IRecord>();
    SetRecord setRecord = new SetRecord(toConflict.getTarget(),
        toConflict.getVersion());
    // let's apply the conflict locally, too, to ensure a same version
    setRecord.apply(document);
    records.add(setRecord);
    commitRecords(records);
  }

  /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.