View Code? Open in Web Editor
NEW
base upon APT(Annotation processor tookit) technolegy and freemarker template engine. on the basic of user-defined packet entity and codec interface, generate the codec interface impl automatically in compile stage.
Java 85.38%
FreeMarker 14.62%
protocol-codec-apt4j's Introduction
protocol-codec-apt4j's People
Contributors
Watchers
protocol-codec-apt4j's Issues
待完成事项
迁移freemarkerModel的单元测试 [finished]
实现encode编码方法 [finished]
是否需要显式清理ChannelSpelContext的缓存? [移除spel依赖, 引入caffeine 弱引用回收]
考虑容器ioc依赖注入 [finished]
考虑logback日志打印依赖 [finished]
能否实现打包processor包时跳过编译proc=none, 但是不跳过lombok的编译, 这样可以节省getter/setter的方法输出 [finished]
密钥策略逻辑注入 [finished]
validation的优先级逻辑加入(主要是考虑有aes/hmac-sha256加密的情况, 像是校验码的校验以及帧头/尾的校验需要在报文解密之后才能校验) [finished]
该通用协议解析框架完成后, 尝试解析MQTT、CoAP、QUIC、Zigbee等协议
convertMethod考虑容器注入的情况, 并设置懒加载 [finished]
jmh性能测试 [finished]
10.1 对照1 反射调用和apt调用 [finished]
10.2 对照2 缓冲区内存占用和字节数组内存占用 [finished]
考虑http协议等现有的协议, 移除netty的channel强依赖, 采用caffeine缓存 [finished]
去除reverse, 字符串直接传带符号位数字 [finished]
reverseType, normalType, stepExprType 考虑枚举替换 [finished]
解析加入stopWatch, javac compileArgument传个option来启动该功能, 方便测试编译时间. 后续会考虑到更小模块的metrics [finished] [deprecated]
测试mqtt协议connect指令报文, 并用mosquitto进行测试. [目前正在搭建protocol-communication-manager项目]