📄 activetestresponse.java
字号:
package com.gctech.cmpp.msg;
/**
* <p>Title: active response</p>
* <p>Description: 短信SP API</p>
* <p>Copyright: Copyright (c) 2004</p>
* <p>Company: GCTECH</p>
* @author not attributable
* @version $Id: ActiveTestResponse.java,v 1.1 2004/05/21 07:50:10 wanghb Exp $
*/
public class ActiveTestResponse extends CmppMsg {
public ActiveTestResponse() {
super();
this.head.setCommandId(CommandID.CMPP_ACTIVE_TEST_RESP);
this.head.setTotalLength(12);
}
protected void toByteArray(byte[] parm1) {
}
//add by liya begin
public ActiveTestResponse(CmppMsg cmppmsg) {
super(cmppmsg);
}
public ActiveTestResponse(MsgHead msghead) {
super(msghead,0,0x80000008);
}
private int reserved;
public int getReserved()
{
return reserved;
}
public int readbody()
{
reserved = bodybytes[0];
return 0;
}
public String toString() {
return "Active Response:"+reserved;
}
//add by liya end
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -