Package com.google.collide.dto.client.DtoClientImpls

Examples of com.google.collide.dto.client.DtoClientImpls.RecoverFromMissedDocOpsImpl


     * ops from the document history, we will skip those that have already been
     * applied.
     */
    int revision = lastSentMsg != null ? lastSentMsg.getCcRevision() : revisionProvider.revision();
   
    RecoverFromMissedDocOpsImpl recoveryDto =
        RecoverFromMissedDocOpsImpl.make()
            .setClientId(BootstrapSession.getBootstrapSession().getActiveClientId())
            .setCurrentCcRevision(revision)
            .setFileEditSessionKey(fileEditSessionKey);
   
    if (lastSentMsg != null) {
      recoveryDto.setDocOps2((JsoArray<String>) lastSentMsg.getDocOps2());
    }
   
    recoverFrontendApi.send(recoveryDto,
        new ApiCallback<RecoverFromMissedDocOpsResponse>() {
          @Override
View Full Code Here

TOP

Related Classes of com.google.collide.dto.client.DtoClientImpls.RecoverFromMissedDocOpsImpl

Copyright © 2018 www.massapicom. 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.