responseenginetwo.java
来自「短信网关发送接受平台。」· Java 代码 · 共 42 行
JAVA
42 行
package orderapp;/** * Title: * Description: * Copyright: Copyright (c) 2002 * Company: * @author * @version 1.0 */import utilities.Engine;import xml.*;import data.response;public class responseEngineTwo extends Engine{ public String respTmp=""; public getLabel GetLabel; public String sql; public responseEngineTwo() { setDaemon(true); GetLabel=new getLabel(); } public void run(){ while(true){ if(!Config.response_queue.isEmpty()){ respTmp=(String)Config.response_queue.pop(); response.destination_guid=GetLabel.getString("destination/guid",respTmp); response.result=GetLabel.getString("result",respTmp); response.msg_id=GetLabel.getString("msg_id",respTmp); //System.out.println(respTmp); sql="update mobile_bill set ih_retry=ih_retry-1,ih_process = "+response.result+",gateway_msg_id = '"+response.msg_id+"' where row_id="+response.destination_guid; //System.out.print(response.msg_id+"vvvv"); Config.sql_queue.push(sql); } try{ Thread.sleep(10); } catch(Exception e){ } } }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?