Examples of incReplyTimes()


Examples of net.solosky.maplefetion.sipc.SipcRequest.incReplyTimes()

    SipcRequest request = this.findRequest(response);
    response.setRequest(request);
   
    //找到了对应的请求,然后判断是否回复已经到了指定的回复次数,如果到了就从队列中移除,如果没有,就不移除
    if(request!=null) {
      request.incReplyTimes();
      if(request.getNeedReplyTimes()==request.getReplyTimes()) {
        synchronized(this.requestQueue) {
          this.requestQueue.remove(request);
        }
      }
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.