Examples of cancel()


Examples of l2p.gameserver.model.base.Transaction.cancel()

    {
      return;
    }
    if(!transaction.isValid() || !transaction.isTypeOf(TransactionType.FRIEND))
    {
      transaction.cancel();
      activeChar.sendPacket(Msg.TIME_EXPIRED, Msg.ActionFail);
      return;
    }
    L2Player requestor = transaction.getOtherPlayer(activeChar);
    transaction.cancel();
View Full Code Here

Examples of l2p.gameserver.model.quest.QuestTimer.cancel()

        st.takeItems(ManakiaLetter2st, -1);
        st.giveItems(GloveOfKepra, 1);
        QuestTimer timer = st.getQuestTimer("Wait2");
        if(timer != null)
        {
          timer.cancel();
        }
        st.startQuestTimer("EnkuOrcOverlordQuestMonster", 200000);
        st.addSpawn(EnkuOrcOverlordQuestMonster);
        st.addSpawn(EnkuOrcOverlordQuestMonster);
        st.addSpawn(EnkuOrcOverlordQuestMonster);
View Full Code Here

Examples of lineage2.gameserver.model.Request.cancel()

    {
      return;
    }
    if (!request.isInProgress())
    {
      request.cancel();
      activeChar.sendActionFailed();
      return;
    }
    if (activeChar.isOutOfControl())
    {
View Full Code Here

Examples of net.bnubot.bot.commands.Vote.cancel()

  public void channelLeave(Connection source, BNetUser user) {
    touchUser(source, user, "leaving the channel");

    Vote vote = votes.get(source);
    if((vote != null) && vote.getSubject().equals(user))
      vote.cancel();
  }

  @Override
  public void channelUser(Connection source, BNetUser user) {
    try {
View Full Code Here

Examples of net.citizensnpcs.healers.HealerTask.cancel()

        if (event.isToggledOn()) {
            int delay = healer.getHealthRegenRate();
            task.addID(Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(Citizens.plugin, task, delay, delay));
        } else {
            if ((task = HealerTask.getTask(event.getNPC().getUID())) != null) {
                task.cancel();
            }
        }
    }
}
View Full Code Here

Examples of net.citizensnpcs.wizards.WizardTask.cancel()

                    .getScheduler()
                    .scheduleSyncRepeatingTask(Citizens.plugin, task, Settings.getInt("WizardManaRegenRate"),
                            Settings.getInt("WizardManaRegenRate")));
        } else {
            if ((task = WizardTask.getTask(event.getNPC().getUID())) != null) {
                task.cancel();
            }
        }
    }
}
View Full Code Here

Examples of net.ftb.download.workers.AssetDownloader.cancel()

            downloader.addPropertyChangeListener(new PropertyChangeListener() {
                @Override
                public void propertyChange (PropertyChangeEvent evt) {
                    if (prog.isCanceled()) {
                        downloader.cancel(false);
                        prog.close();
                    } else if (!downloader.isCancelled()) {
                        if ("ready".equals(evt.getPropertyName())) {
                            prog.setProgress(downloader.getReady());
                        }
View Full Code Here

Examples of net.jini.core.lease.Lease.cancel()

    //Delete Job services
    //Delete leases
    try {
      while(!leaseList.isEmpty()) {
        Lease lease = (Lease)leaseList.firstElement();
        lease.cancel();
        leaseList.remove(lease);
        //System.out.println("--RMServer--: deleting lease");
      }
    } catch(Exception ex) {
      //System.out.println("--RMServer--: Exception in shutdown");
View Full Code Here

Examples of net.pterodactylus.sone.core.FreenetInterface.InsertToken.cancel()

  public void cancelImageInsert(Image image) {
    InsertToken insertToken = insertTokens.remove(image.getId());
    if (insertToken == null) {
      return;
    }
    insertToken.cancel();
  }

}
View Full Code Here

Examples of net.rim.blackberry.api.bbm.platform.io.BBMPlatformOutgoingJoinRequest.cancel()

   
    private class CancelFunction extends ScriptableFunctionBase {
       
        protected Object execute(Object thiz, Object[] args) throws Exception {
            BBMPlatformOutgoingJoinRequest request = getRequest();
            request.cancel();
            IONamespace.getInstance().removeOutgoingJoinReq(request);
            return UNDEFINED;
        }
       
        protected FunctionSignature[] getFunctionSignatures() {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.