[feat] 新增事件分发接口IEventDispatcher和事件交换机EventHub,用于星尘平台中多事件总线共用websocket通道。通道一段收到消息包以后,先发给EventHub,内部解析topic并路由到对应的事件总线上。各个事件总线可以使用不同的消息类型,只要消息分发器是同一种就好,例如IPacket或者String。
智能大石头
authored at
2025-12-18 20:09:20
X
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishProtocol>FileSystem</PublishProtocol>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<TargetFramework>net7.0</TargetFramework>
<PublishDir>..\Bin\Test\publish\win-x64\</PublishDir>
<SelfContained>false</SelfContained>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<PublishSingleFile>true</PublishSingleFile>
<PublishReadyToRun>false</PublishReadyToRun>
</PropertyGroup>
</Project>
|