mirror of
https://gitee.com/willfree/min-dev-java.git
synced 2026-10-04 19:42:01 +08:00
error handle to all: EncoderException
This commit is contained in:
1 parent
5fc080ca6c
commit
8cf6ed24c9
34 files changed
+700
-233
No files matched your search
@@ -1,5 +1,8 @@
|
||||
package packet;
|
||||
|
||||
import encoding.EncoderException;
|
||||
import encoding.VlIntException;
|
||||
|
||||
/*
|
||||
* @Author: Wang Feng
|
||||
* @Description: 定义了一个网络包应该实现哪些和分区交互的方法
|
||||
@@ -12,11 +15,11 @@ public interface InteractWithField {
|
||||
* 将包的属性填充到网络包的四个分区当中
|
||||
* @return
|
||||
*/
|
||||
boolean fillDataToFields();
|
||||
boolean fillDataToFields() throws EncoderException;
|
||||
|
||||
/**
|
||||
* 从网络包的四个分区当中提取出特定网络包的相关属性
|
||||
* @return
|
||||
*/
|
||||
boolean extraDataFromFields();
|
||||
boolean extraDataFromFields() throws VlIntException;
|
||||
}
|
||||
Reference in new issue
Block a user