示例#1
0
 public static Future<EveData> getFuture(CrestResponseCallback callback) throws Exception {
   Gson gson = new Gson();
   // @formatter:off
   CrestRequestData rdata =
       new CrestRequestData(
           null,
           getUrl(),
           gson,
           null,
           CrestTime.class,
           callback,
           ReadScope,
           getVersion(VersionType.Get),
           continueRefresh);
   // @formatter:on
   return CrestController.getCrestController().crestClient.getCrest(rdata);
 }
 public static Future<EveData> getFuture(CrestResponseCallback callback) throws Exception {
   GsonBuilder gson = new GsonBuilder();
   gson.registerTypeAdapter(MarketTypeCollection.class, new MarketTypeCollection());
   // @formatter:off
   CrestRequestData rdata =
       new CrestRequestData(
           null,
           getUrl(),
           gson.create(),
           null,
           MarketTypeCollection.class,
           callback,
           ReadScope,
           getVersion(VersionType.Get),
           continueRefresh);
   // @formatter:on
   return CrestController.getCrestController().crestClient.getCrest(rdata);
 }