Examples of SuccessEvent


Examples of net.solosky.maplefetion.event.action.SuccessEvent

    if(readyList.size()>0){
      future.clear();
      dialog.getScheduleSMSInfo(readyList, future);
      return future.waitActionEventWithoutException();
    }else{
      return new SuccessEvent();    //成功
    }
  }
View Full Code Here

Examples of net.solosky.maplefetion.event.action.SuccessEvent

      public void run() {
        try {
            Logger.getLogger(Dialog.class).debug("Openning Dialog in Executor pool:"+dialog.toString());
            dialog.openDialog();
            Logger.getLogger(Dialog.class).debug("Opened Dialog in Executor pool:"+dialog.toString());
            if(listener!=null) listener.fireEevent(new SuccessEvent());
                  } catch (TransferException e) {
                    Logger.getLogger(Dialog.class).warn("Open Dialog failed in Executor pool.", e);
                    if(listener!=null) listener.fireEevent(new TransferErrorEvent());
                  } catch (RequestTimeoutException e) {
                    Logger.getLogger(Dialog.class).warn("Open Dialog failed in Executor pool.", e);
View Full Code Here

Examples of net.solosky.maplefetion.event.action.SuccessEvent

    Runnable r = new Runnable() {
      public void run() {
        Logger.getLogger(Dialog.class).debug("Closing Dialog in Executor pool:"+dialog.toString());
        dialog.closeDialog();
        Logger.getLogger(Dialog.class).debug("Closed Dialog in Executor pool:"+dialog.toString());
        listener.fireEevent(new SuccessEvent());
       
      }
    };
    this.context.getFetionExecutor().submitTask(r);
  }
View Full Code Here

Examples of net.solosky.maplefetion.event.action.SuccessEvent

      }
    }

  //100
    protected ActionEvent doTrying(SipcResponse response) throws FetionException {
      return new SuccessEvent();
    }
View Full Code Here

Examples of net.solosky.maplefetion.event.action.SuccessEvent

      return new SuccessEvent();
    }
   
    //200
    protected ActionEvent doActionOK(SipcResponse response) throws FetionException{
      return new SuccessEvent();
    }
View Full Code Here

Examples of net.solosky.maplefetion.event.action.SuccessEvent

      return new SuccessEvent();
    }
   
    //208
    protected ActionEvent doSendSMSOK(SipcResponse response) throws FetionException{
      return new SuccessEvent();
    }
View Full Code Here

Examples of net.solosky.maplefetion.event.action.SuccessEvent

      throws FetionException
  {
    SipcHeader header = response.getHeader(SipcHeader.WWWAUTHENTICATE);
    logger.debug("SipcRegister:"+header.toSendString());
    this.dialog.getSession().setAttribute(SipcHeader.WWWAUTHENTICATE, header);
    return new SuccessEvent();
   
  }
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.