add interface: InteractWithField

This commit is contained in:
free will committed 2021-03-13 09:24:22 +08:00
1 parent e622d92897
commit 4fb738f0db
1 file changed
+22
@@ -0,0 +1,22 @@
package packet;
/*
* @Author: Wang Feng
* @Description: 定义了一个网络包应该实现哪些和分区交互的方法
* @Version: 1.0.0
* @Date: 9:21 2021/3/13
* @Copyright: MIN-Group;国家重大科技基础设施——未来网络北大实验室;深圳市信息论与未来网络重点实验室
*/
public interface InteractWithFiled {
/**
* 将包的属性填充到网络包的四个分区当中
* @return
*/
boolean fillDataToFields();
/**
* 从网络包的四个分区当中提取出特定网络包的相关属性
* @return
*/
boolean extraDataFromFields();
}