header.java
来自「短信平台CMPP30 的JAVA程序,(含SQL数据库)」· Java 代码 · 共 62 行
JAVA
62 行
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: Header.java
package com.cmpp3_0.body;
public class Header
{
private int commandId;
private int seqId;
private int totalLength;
public Header(int totalLength, int cmdId, int seqId)
{
this.totalLength = totalLength;
commandId = cmdId;
this.seqId = seqId;
}
public Header()
{
}
public int getCommandId()
{
return commandId;
}
public int getSeqId()
{
return seqId;
}
public int getTotalLength()
{
return totalLength;
}
public void setCommandId(int commandId)
{
this.commandId = commandId;
}
public void setSeqId(int seqId)
{
this.seqId = seqId;
}
public void setTotalLength(int totalLength)
{
this.totalLength = totalLength;
}
public String toString()
{
return "totalLength : " + totalLength + "\ncommandId : " + commandId + "\nseqId : " + seqId + "\n";
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?