traceresp.java
来自「联通的SGIP协议Java实现」· Java 代码 · 共 56 行
JAVA
56 行
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 + =
减小字号Ctrl + -
显示快捷键?