Example #1
0
 /** Must called in SERVER side. */
 public void installApp(int appid) {
   if (isRemote()) {
     throw new RuntimeException("Not allowed in client side!");
   }
   doInstall(appid);
   installSync(appid);
 }
Example #2
0
 @RegNetworkCall(side = Side.CLIENT, thisStorage = StorageOption.Option.INSTANCE)
 private void installSync(@Data Integer appid) {
   doInstall(appid);
 }