/** * GwtRpcServiceAsync.java * * Copyright (c) 1995-2010, The University of Sheffield. See the file * COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt * * This file is part of GATE (see http://gate.ac.uk/), and is free * software, licenced under the GNU Library General Public License, * Version 2, June 1991 (in the distribution as file licence.html, * and also available at http://gate.ac.uk/gate/licence.html). * * Valentin Tablan, 01 Dec 2011 */ package gate.mimir.web.client; import com.google.gwt.user.client.rpc.AsyncCallback; public interface GwtRpcServiceAsync { public void search(java.lang.String indexId, java.lang.String query, AsyncCallback<String> callback); void getResultsData(String queryId, int firstDocumentRank, int documentsCount, AsyncCallback<ResultsData> callback); public void releaseQuery(java.lang.String queryId, AsyncCallback<Void> callback); void getAnnotationsConfig(String indexId, AsyncCallback<String[][]> callback); }