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

📄 traceresp.java

📁 联通的SGIP协议Java实现
💻 JAVA
字号:
package spApi;

public class TraceResp extends SGIP_Command
{
  public int Count;
  public int Result;
  public String NodeId;
  public String ReceiveTime;
  public String SendTime;
  public String Reserve;

  public TraceResp()
  {
  }

  public TraceResp(SGIP_Command paramSGIP_Command)
  {
    super(paramSGIP_Command);
  }

  public int getCount()
  {
    return this.Count;
  }

  public int getResult()
  {
    return this.Result;
  }

  public String getNodeId()
  {
    return this.NodeId;
  }

  public String getReceiveTime()
  {
    return this.ReceiveTime;
  }

  public String SendTime()
  {
    return this.SendTime;
  }

  public int readbody()
  {
    this.Count = this.bodybytes[0];
    this.Result = this.bodybytes[1];
    this.NodeId = new String(this.bodybytes, 2, 6);
    this.ReceiveTime = new String(this.bodybytes, 8, 16);
    this.SendTime = new String(this.bodybytes, 24, 16);

    return 0;
  }
}

⌨️ 快捷键说明

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