-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from dotnet-campus/t/lindexi/IpcProxy
消息加上业务头,可以在核心框架之外的业务对接框架上,使用不同的对接方式
- Loading branch information
Showing
11 changed files
with
262 additions
and
91 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace dotnetCampus.Ipc.Context; | ||
|
||
/// <summary> | ||
/// 已知的消息头 | ||
/// </summary> | ||
/// 现在已有三套通讯方法: | ||
/// - RemoteObject | ||
/// - MVC | ||
/// - Raw | ||
/// 其中 Raw 不加头,完全都裸通讯方式 | ||
public enum KnownMessageHeaders : ulong | ||
{ | ||
/// <summary> | ||
/// 发送的消息是 RemoteObject 通讯的消息 | ||
/// </summary> | ||
RemoteObjectMessageHeader | ||
// 消息头是 R(e)m(ote)O(b)j(ect) 的 RmOj 几个字符组成的 long 头 | ||
= 0x526D4F6A, | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.