activetest.java~16~

来自「短信网关发送接受平台。」· JAVA~16~ 代码 · 共 48 行

JAVA~16~
48
字号
package smscenter;import cmpp12.*;import com.newpalm.smsgwapi.*;import com.newpalm.log.BatchLog;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2004</p> * <p>Company: </p> * @author unascribed * @version 1.0 */import java.io.*;public class ActiveTest extends Engine{    public ActiveTest() {        super("ActiveTest");        setDaemon(true);    }    public ActiveTest(SpConnector12 spConnector){        super("ActiveTest");        setDaemon(true);    }    public void run(){        String activeTest = "<CMPP_ACTIVE_TEST></CMPP_ACTIVE_TEST>";        byte[] bytes = null;        bytes = activeTest.getBytes() ;        while(isRunning()   ){            if(Config.IfConnected){                try{                }catch(Exception e){                    e.printStackTrace() ;                }            }            try{                sleep(1000*5);            }catch(Exception e){                e.printStackTrace() ;            }        }    }    public static void main(String[] args) {        ActiveTest activeTest1 = new ActiveTest();    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?