**Is your feature request related to a problem? Please describe.** 现在pyfsd与协议9高度耦合,默认协议写死,开发其他协议的插件收到很大阻力 **Describe the solution you'd like** 把协议作为单独的概念抽象出来,在其他协议发送数据时使用协议暴露出的接口 **Describe alternatives you've considered** - 直接使用`asyncio.Transport`自带的`setProtocol`与`getProtocol` - 怎么把触发插件逻辑的逻辑抽象? - 单独创建一个协议的概念,只实现一个`asyncio.Protocol`的子类作为协议的包装器 - 怎么让协议处理收到的raw数据,决定多少、哪些数据算一个有效PDU? **Additional context**
Is your feature request related to a problem? Please describe.
现在pyfsd与协议9高度耦合,默认协议写死,开发其他协议的插件收到很大阻力
Describe the solution you'd like
把协议作为单独的概念抽象出来,在其他协议发送数据时使用协议暴露出的接口
Describe alternatives you've considered
asyncio.Transport自带的setProtocol与getProtocolasyncio.Protocol的子类作为协议的包装器Additional context