📄 linkrsp.java
字号:
package ffcs.lbp.le.message;
import java.nio.ByteBuffer;
/**
* <p>Title: Smgp协议解析</p>
* <p>Description: 链路检测应答包</p>
* <p>Copyright: Copyright (c) 2007</p>
* <p>Company: 福富软件</p>
* @author chenxin
* @version 1.0 $Date 2007-07-05
*/
public class LinkRsp extends LeMessage {
/**
* Constructs a new ActiveTestResp.
*/
public LinkRsp() {
super(LinkRsp);
}
/**
* Convert this packet to a String. Not to be interpreted programmatically,
* it's just dead handy for debugging!
*/
public String toString() {
StringBuffer sb=new StringBuffer("LinkRsp:");
sb.append(super.toString());
return sb.toString();
}
public int getBodyLength() {
return 0;
}
/**
* 读取协议包的包体
* @param buf ByteBuffer
* @throws MessageParseException
* @return boolean
*/
protected boolean readBody(ByteBuffer buf) throws
LeProtocolException{
return true;
}
/**
* 读取协议包的包体
* @param buf ByteBuffer
* @return boolean
*/
protected boolean writeBody(ByteBuffer buf){
return true;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -