WebbasedServiceAsync.java :  » UnTagged » smartshop-project » vnfoss2010 » smartshop » webbased » client » Android Open Source

Android Open Source » UnTagged » smartshop project 
smartshop project » vnfoss2010 » smartshop » webbased » client » WebbasedServiceAsync.java
package vnfoss2010.smartshop.webbased.client;

import vnfoss2010.smartshop.webbased.share.WGoogleUser;
import vnfoss2010.smartshop.webbased.share.WPage;
import vnfoss2010.smartshop.webbased.share.WProduct;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface WebbasedServiceAsync {
  void greetServer(String input, AsyncCallback<String> callback)
      throws IllegalArgumentException;

  void getProduct(long productId, AsyncCallback<WProduct> callback);

  void getGoogleAccountLink(AsyncCallback<WGoogleUser> callback);

  void getPage(long pageId, AsyncCallback<WPage> callback);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.