org.xwiki.gwt.wysiwyg.client.plugin.sync
Interface SyncServiceAsync


public interface SyncServiceAsync

Service interface used on the client by the synchronization plug-in. It should have all the methods from SyncService with an additional AsyncCallback parameter. This is specific to GWT's architecture.

Version:
$Id: SyncServiceAsync.java 26786 2010-02-07 16:46:17Z mflorea $

Method Summary
 void syncEditorContent(Revision syncedRevision, java.lang.String pageName, int version, boolean syncReset, com.google.gwt.user.client.rpc.AsyncCallback<SyncResult> async)
          Synchronizes this editor with others that edit the same page.
 

Method Detail

syncEditorContent

void syncEditorContent(Revision syncedRevision,
                       java.lang.String pageName,
                       int version,
                       boolean syncReset,
                       com.google.gwt.user.client.rpc.AsyncCallback<SyncResult> async)
Synchronizes this editor with others that edit the same page.

Parameters:
syncedRevision - the changes to this editor's content, since the last update
pageName - the page being edited
version - the version affected by syncedRevision
syncReset - resets the sync server for this page
async - the call-back to be used for notifying the caller after receiving the response from the server


Copyright © 2004-2010 XWiki. All Rights Reserved.