net.sf.jqql.debug
Interface IDebugObject
- All Known Implementing Classes:
- AbstractDebugObject, FragmentDO, PacketDO
public interface IDebugObject
Debug object, a segment of data
调试对象,一段数据
- Author:
- luma
getBytes
byte[] getBytes()
- Returns:
- data's byte array form.
数据的字节数组形式
getHexString
String getHexString()
- Returns:
- data's hexadecimal string form.
数据的16进制字符串形式
getName
String getName()
- Returns:
- data's descriptive name.
数据的描述性名称
setName
void setName(String name)
- set the name.
设置名称
- Parameters:
name - name
名称
isIncoming
boolean isIncoming()
- Returns:
- Return true to indicate data received, false to data sent out.
true表示数据是收到的数据,false表示是发出的数据
getLength
int getLength()
- Returns:
- data byte length
数据字节长度
getBodyBytes
byte[] getBodyBytes()
- Returns:
- byte array of the packet body.
包体字节数组
getBodyHexString
String getBodyHexString()
- Returns:
- hexadecimal string form of the packet body
包体的十六进制字符串形式