HandyIpc icon indicating copy to clipboard operation
HandyIpc copied to clipboard

An out-of-the-box inter-process communication (IPC) library, which can also be seen as a remote Ioc container.

Results 6 HandyIpc issues
Sort by recently updated
recently updated
newest added

0.0 感觉好麻烦的样子,一个简单的库要安装3个包

``` Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Threading.ThreadPoolWorkQueue.TryDequeueTimeSensitiveWorkItem() at System.Threading.ThreadPoolWorkQueue.Dequeue(System.Threading.ThreadPoolWorkQueueThreadLocals, Boolean ByRef) at System.Threading.ThreadPoolWorkQueue.Dispatch() at...

#### 背景: 当前的合同接口仅支持方法成员,按目前设定:Server 在同一个域内应该是唯一的,不允许启动第二个 Server 实例,以避免 Client 无法区分服务的提供者;而 Client 方则允许创建多个实例与唯一的 Server 交互,但交互方式仅为:Client 调用 Server,Server 在本次调用中应答一次 Client,是单对单的交互方式,还缺乏一种单对多的通知方式,即多播事件。 #### 方案: 使当前的合同接口可以定义事件,事件的行为应当是:Server 发布事件后,所有 Client 实例(可能有多个)中订阅了该事件的 Handler 都应该被触发。Client 之间若想交互,仅可以通过调用 Server 方法以触发某个 Server Event 的方式进行。...

enhancement

针对该库所提供的 feature,编写对应的测试用例。本库中的测试用例应面向接口编写,因为具体的通讯协议有很多,如目前的 Named Pipe、Tcp 等,但它们应该用同一套测试用例。 测试用例 TODO List: - [x] 【代码生成器】应对非合同接口所支持的成员进行报错提示 - [ ] 【代码生成器】应对方法中的可变字段(尤其是 `CancellationToken`)报以 Not Supported 警告 - [x] 【代码生成器】应对方法中的回调函数报以 Not Supported 警告 (#7) - [x] 【合同接口】测试对事件的支持 (#12)

enhancement