Conversation
Author
translated by googleThis change is mainly to apply to the following scenarios: When the target BUS is opened exclusively (that is, when it can only be opened by one process), if you want to communicate with each other through multiple processes (such as UDS Client and UDS Server) and have a monitoring interface (such as a web page), the target BUS is limited It can only be opened once, and the life cycle is equal to the opening process (corresponding to RemoteServer). Each connected RemoteClient can receive a copy of the Message received by the target BUS, and send the Message through the line preemptively. |
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.
本次改动主要为了适用以下场景:
当目标BUS是独占打开时(也就是只能被一个进程打开时), 想通过多个进程相互通讯(例如UDS Client和UDS Server)并且有一个
监视界面(例如web页面), 就限制了目标BUS只能打开一次,且生命周期等同于打开进程(对应RemoteServer). 每个连上的RemoteClient都能收到目标BUS所收到Message的副本, 且通过线成抢占发送Message.