?? 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
*/
protected boolean writeBody(ByteBuffer buf){
return true;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -