⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 activetestresponse.java

📁 采用JAVA开发
💻 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 + -