📄 msghead.java
字号:
package com.gctech.sms.sp.msg;
import java.io.*;
/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2004</p>
* <p>Company: gctech</p>
* @author 王红宝
* @version $Id: MsgHead.java,v 1.1.1.1 2004/07/26 02:44:10 lijz Exp $
*/
public class MsgHead implements Serializable {
private int length;
private int commandId;
private int commandStatus;
private int seq;
public MsgHead() {
}
public int getLength() {
return length;
}
public int getCommandId() {
return commandId;
}
public int getCommandStatus() {
return commandStatus;
}
public int getSeq() {
return seq;
}
public void setSeq(int seq) {
this.seq = seq;
}
public void setCommandStatus(int commandStatus) {
this.commandStatus = commandStatus;
}
public void setCommandId(int commandId) {
this.commandId = commandId;
}
public void setLength(int length) {
this.length = length;
}
public String toString() {
return "commandStatus:"+commandStatus;
}
private void writeObject(ObjectOutputStream oos) throws IOException {
oos.defaultWriteObject();
}
private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException {
ois.defaultReadObject();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -