📄 mythread.java
字号:
public class MyThread extends Thread {
Cmpp cl=null;
public MyThread(Cmpp cl) {
this.cl = cl;
}
public void run() {
/**
* 5秒后向手机用户13666666688发送"Hello World!",免费,业务代码ZXYT
*/
try {
Thread.sleep(5000);
System.out.println("sendSubmitMsg: 13666666688");
int result=cl.sendSubmitMsg(0,1,1,0,0,"","ZXYT", "011234", "01", "150",
new String[] {"13666666688"}
, "Hello World!",null);
System.out.println("MyThread result: "+result);
}
catch (InterruptedException ex) {
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -