Giter Site home page Giter Site logo

bofa1ex / protocol-codec-apt4j Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 192 KB

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%
annotation-processor-toolkit protocol-codec

protocol-codec-apt4j's Introduction

Language

protocol-codec-apt4j's People

Contributors

bofa1ex avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

protocol-codec-apt4j's Issues

Record TODO

待完成事项

  1. 迁移freemarkerModel的单元测试 [finished]
  2. 实现encode编码方法 [finished]
  3. 是否需要显式清理ChannelSpelContext的缓存? [移除spel依赖, 引入caffeine 弱引用回收]
  4. 考虑容器ioc依赖注入 [finished]
  5. 考虑logback日志打印依赖 [finished]
  6. 能否实现打包processor包时跳过编译proc=none, 但是不跳过lombok的编译, 这样可以节省getter/setter的方法输出 [finished]
  7. 密钥策略逻辑注入 [finished]
  8. validation的优先级逻辑加入(主要是考虑有aes/hmac-sha256加密的情况, 像是校验码的校验以及帧头/尾的校验需要在报文解密之后才能校验) [finished]
  9. 该通用协议解析框架完成后, 尝试解析MQTT、CoAP、QUIC、Zigbee等协议
  10. convertMethod考虑容器注入的情况, 并设置懒加载 [finished]
  11. jmh性能测试 [finished]
    10.1 对照1 反射调用和apt调用 [finished]
    10.2 对照2 缓冲区内存占用和字节数组内存占用 [finished]
  12. 考虑http协议等现有的协议, 移除netty的channel强依赖, 采用caffeine缓存 [finished]

  1. 去除reverse, 字符串直接传带符号位数字 [finished]
  2. reverseType, normalType, stepExprType 考虑枚举替换 [finished]
  3. 解析加入stopWatch, javac compileArgument传个option来启动该功能, 方便测试编译时间. 后续会考虑到更小模块的metrics [finished] [deprecated]
  4. 测试mqtt协议connect指令报文, 并用mosquitto进行测试. [目前正在搭建protocol-communication-manager项目]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.