Package jp.freeex.us.fourtypes.client

Examples of jp.freeex.us.fourtypes.client.StatisticsServiceAsync


   * @param x X座標
   * @param y Y座標
   */
  public void sendResult(int x, int y){
    //キャッシュへ結果を書き込む
    final StatisticsServiceAsync service =
        (StatisticsServiceAsync)GWT.create(
            StatisticsService.class);
    ((ServiceDefTarget)service).setServiceEntryPoint(
        GWT.getHostPageBaseURL() + "fourtypes/stat");
    GWT.log("[TestButtonPanel:sendResult()] " +
        "prepared sending result to server");
   
    service.setResult(x, y, new Date(), new AsyncCallback<Void>(){
      /**
       * 結果送信処理失敗時処理。
       * 失敗したらそのままほったらかす。
       * @param caught 発生した例外
       */
 
View Full Code Here

TOP

Related Classes of jp.freeex.us.fourtypes.client.StatisticsServiceAsync

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.