Repository navigation
2.0 API 重构:IFramer 命名统一 / 命名空间收敛 / 生命周期令牌 / Disconnected 终态 / 双栈 socket - #4
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
破坏性变更(随 2.0.0 发布)
IFrameCodec→IFramer、LengthPrefixFrameCodec→LengthPrefixFramer、StxEtxFrameCodec→StxEtxFramer、IStreamingFrameCodec→IStreamingFramer——"codec" 从此只指ICodec<TMessage>StreamFrame.Abstractions,公共类型统一进StreamFrame(一个 using 搞定)Start(ct)取消即停机(与 DisposeAsync 共用幂等 Shutdown 路径),广播Disconnected终态、GetMessages自然结束DeviceIpAddress→RemoteIpAddress(string?):null 替代 "NA";双栈下 IPv4-mapped 地址归一显示IPAddress.Any自动归一IPv6Any,IPv4/IPv6 客户端均可接入PooledBufferWriter拆分独立文件;接口GetMessages补默认参数验证