package org.gcube.portlets.widgets.netcdfbasicwidgets.client.rpc; import org.gcube.portlets.widgets.netcdfbasicwidgets.shared.netcdf.NetCDFData; import org.gcube.portlets.widgets.netcdfbasicwidgets.shared.netcdf.NetCDFId; import org.gcube.portlets.widgets.netcdfbasicwidgets.shared.netcdf.NetCDFValues; import org.gcube.portlets.widgets.netcdfbasicwidgets.shared.netcdf.VariableData; import org.gcube.portlets.widgets.netcdfbasicwidgets.shared.session.UserInfo; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.rpc.AsyncCallback; /** * * @author Giancarlo Panichi * * */ public interface NetCDFBasicWidgetServiceAsync { public static NetCDFBasicWidgetServiceAsync INSTANCE = (NetCDFBasicWidgetServiceAsync) GWT .create(NetCDFBasicWidgetService.class); void hello(AsyncCallback callback); void getNetCDFFromPublicLink(String publicLink, AsyncCallback callback); void closeNetCDF(NetCDFId netCDFId, AsyncCallback callback); void readDataVariable(NetCDFId netCDFId, VariableData variableData, boolean sample, int limit, AsyncCallback callback); }