Commit Graph

113 Commits (6139bdd914606ab1be8a1bf83b480d11dc9f822f)

Author SHA1 Message Date
oneRain 04e8229f89 chore: 调整接口访问权限 2020-05-13 16:28:55 +08:00
oneRain e801478fad * RoleTest.cs:
* QueryTest.cs:
* RelationTest.cs:
* SubClassTest.cs:
* LCIMConversationQuery.cs:
* LCCompositionalCondition.cs:

* LCQuery.cs: chore: 支持更丰富的查询
2020-05-06 16:02:26 +08:00
oneRain 8b6838be8f chore: 整理工程目录 2020-04-30 15:36:06 +08:00
oneRain 08449aea6b * LCConnection.cs:
* LCHeartBeat.cs: chore: 关闭连接时停止心跳检测
2020-04-30 13:34:41 +08:00
oneRain 1447070c8f * LCHeartBeat.cs:
* LCConnection.cs:

* LCWebSocketClient.cs: chore: 重构连接相关结构
2020-04-29 17:57:30 +08:00
oneRain 77d1da76b3 chore 2020-04-29 16:02:13 +08:00
oneRain fdfe462146 * LCHeartBeat.cs:
* LCConnection.cs:

* LCWebSocketClient.cs: chore
2020-04-29 15:49:37 +08:00
oneRain a06b836a10 chore: 调整命名空间和目录结构 2020-04-28 17:02:52 +08:00
oneRain 38287c9a9c * LCApplication.cs:
* LCHttpClient.cs:

* LCObject.cs: chore: 调整访问权限
2020-04-28 16:59:55 +08:00
oneRain a95977e055 * LCIMClient.cs:
* Realtime.csproj:
* LCIMPageResult.cs:
* LCApplicationRealtimeExt.cs:
* messages2.proto.orig:
* LCIMOperationFailure.cs:
* compile-client-proto.sh:
* LCIMConversation.cs:
* LCIMMessageSendOptions.cs:
* LCHeartBeat.cs:
* LCConnection.cs:
* LCIMPartiallySuccessResult.cs:
* LCIMController.cs:
* LCIMGoAwayController.cs:
* LCIMSessionController.cs:
* LCIMMessageController.cs:
* LCIMConversationController.cs:

* ILCIMSignatureFactory.cs: chore: 整理命名空间和目录结构
2020-04-28 16:39:41 +08:00
oneRain d404a1995c * LCIMMessageController.cs:
* LCIMMessageSendOptions.cs: chore: 支持推送消息
2020-04-28 15:27:25 +08:00
oneRain c3fbf36971 * LCIMConversation.cs:
* LCIMConversationController.cs:

* LCIMMessageController.cs: chore: 完善提醒功能
2020-04-28 14:48:36 +08:00
oneRain 5d0c5a32e6 * LCIMLocationMessage.cs: chore: 完善地理位置消息序列化
* LCIMTypedMessage.cs:
2020-04-28 12:13:03 +08:00
oneRain 63552e17de * LCIMFileMessage.cs:
* LCIMAudioMessage.cs:
* LCIMImageMessage.cs:

* LCIMVideoMessage.cs: chore: 完善富媒体消息
2020-04-28 11:12:25 +08:00
oneRain c66ce32f9a * LCIMTextMessage.cs:
* LCIMTypedMessage.cs: chore: 调整消息数据保存
2020-04-27 18:19:15 +08:00
oneRain aa832f4cb5 chore: session open 之后断开连接 2020-04-27 18:11:23 +08:00
oneRain fb830691c4 * LCIMMessage.cs:
* LCIMFileMessage.cs:
* LCIMTextMessage.cs:
* LCIMAudioMessage.cs:
* LCIMImageMessage.cs:
* LCIMTypedMessage.cs:
* LCIMBinaryMessage.cs:
* LCIMLocationMessage.cs:
* LCIMRecalledMessage.cs:
* LCIMMessageController.cs:

* LCIMVideoMessage.cs: chore: 重构并支持自定义类型消息
2020-04-27 17:44:14 +08:00
oneRain 9dd7a19e03 test: 增加未读测试 2020-04-27 11:54:01 +08:00
oneRain a7ccccb368 chore: 在查询会话时更新最后一条消息 2020-04-26 17:23:36 +08:00
oneRain a4a2e81e19 chore: 已确认的功能支持 2020-04-26 16:27:56 +08:00
oneRain 48b0de3301 * LCIMClient.cs:
* LCIMMessage.cs:
* LCIMTypedMessage.cs:
* LCIMRecalledMessage.cs:
* LCIMConversation.cs:
* LCIMRcpController.cs:
* LCIMUnreadController.cs:
* LCIMMessageController.cs:
* LCIMSessionController.cs:

* LCIMConversationController.cs: chore: 完善功能模块
2020-04-26 16:14:45 +08:00
oneRain b70e6c7bbb * LCIMClient.cs:
* LCIMMessage.cs:
* LCIMRecalledMessage.cs:
* LCIMMessageController.cs:
* LCIMSessionController.cs:

* LCIMTypedMessage.cs: chore: 完善消息接口和事件
2020-04-26 15:50:06 +08:00
oneRain fa2b4d9c79 chore: 完善对话接口和事件 2020-04-26 11:53:20 +08:00
oneRain ae8fbfa830 * LCIMConversation.cs:
* LCIMConversationController.cs: chore: 完善对话接口
2020-04-24 17:41:24 +08:00
oneRain 99975d9f7f * LCIMChatRoom.cs:
* LCIMConversation.cs:
* LCIMConversationQuery.cs:
* LCIMServiceConversation.cs:
* LCIMTemporaryConversation.cs:

* LCIMConversationController.cs: chore: 完善对话的接口
2020-04-24 15:38:10 +08:00
oneRain d6411d8b0d chore: 完善 LCFileMessage 2020-04-23 14:50:49 +08:00
oneRain acee284f67 * LCIMClient.cs:
* LCIMSessionController.cs:
* LCIMConversationController.cs:

* ILCIMSignatureFactory.cs: chore: 支持 LCUser 登录
2020-04-23 12:07:30 +08:00
oneRain 0ea13ab725 * LCRTMRouter.cs:
* LCConnection.cs:

* LCIMConversation.cs: chore
2020-04-23 09:52:32 +08:00
oneRain 816e735968 * LCIMSignature.cs:
* LCIMSignatureAction.cs: chore: 签名相关注释
2020-04-20 13:38:14 +08:00
oneRain 50120e181f * LCIMConversation.cs:
* LCIMMessageSendOptions.cs:

* LCIMMessageController.cs: chore: 支持发送消息选项
2020-04-16 15:13:56 +08:00
oneRain 95acf35e65 * LCIMClient.cs:
* LCRTMRouter.cs:
* LCIMConversation.cs:
* LCHeartBeat.cs:
* LCConnection.cs:
* LCWebSocketClient.cs:
* LCIMMessageController.cs:
* LCIMSessionController.cs:

* LCIMMessage.cs: chore: 完善连接模块
2020-04-16 11:38:22 +08:00
oneRain 8f81bf245a chore: 完善查询消息序列化 2020-04-15 17:36:37 +08:00
oneRain 7cdc768a5a chore: 完善 ack 和 read 2020-04-15 16:47:01 +08:00
oneRain 6df8ea80b7 * LCIMMessageController.cs:
* LCIMConversationController.cs: chore: 支持确认收到和已读消息
2020-04-15 11:41:00 +08:00
oneRain f5c56e5a34 * LCConnection.cs:
* LCWebSocketClient.cs:
* LCIMSessionController.cs:
* LCIMConversationController.cs:

* LCIMClient.cs: chore: 实现在重连时如果被踢掉则关闭连接的情况
2020-04-14 15:28:01 +08:00
oneRain bb3baf2ce8 * LCIMChatRoom.cs:
* LCConnection.cs:
* LCIMController.cs:
* LCIMMessageController.cs:
* LCIMSessionController.cs:
* LCIMConversationController.cs:

* LCIMClient.cs: chore
2020-04-14 14:51:14 +08:00
oneRain 88f2b64eba * LCLogger.cs:
* LCIMClient.cs:
* LCAppRouter.cs:
* LCRTMRouter.cs:
* LCHeartBeat.cs:
* LCConnection.cs:
* LCWebSocketClient.cs:
* LCIMGoAwayController.cs:
* LCIMConversationController.cs:

* LCHttpClient.cs: chore: 支持 goaway
2020-04-13 17:29:55 +08:00
oneRain 35c66d65cf * LCIMConversationController.cs:
* LCIMConversation.cs: chore: 支持消息分发状态查询
2020-04-13 12:05:33 +08:00
oneRain b89709b21d * LCIMClient.cs:
* LCConnection.cs:
* LCWebSocketClient.cs:

* Program.cs: chore
2020-04-13 10:47:14 +08:00
oneRain aeb063f6f8 chore: 增加 rcp 支持 2020-04-13 10:46:49 +08:00
oneRain 72d65b4fb5 * LCIMClient.cs:
* LCIMConversation.cs:
* LCHeartBeat.cs:
* LCConnection.cs:
* LCIMController.cs:
* LCWebSocketClient.cs:
* LCWebSocketConnection.cs:
* LCIMGoAwayController.cs:
* LCIMUnreadController.cs:

* Realtime.csproj: chore: 完善连接层,WebSocket 客户端,心跳监听器
2020-04-10 16:32:33 +08:00
oneRain a11da59ec5 * LCRTMRouter.cs:
* LCRTMServer.cs:
* LCWebSocketConnection.cs:

* LCIMClient.cs: chore: 基础断线重连功能
2020-04-02 18:15:16 +08:00
oneRain 66f3a479b4 * LCIMConversation.cs:
* LCIMConversationQuery.cs:
* LCIMConversationController.cs:

* Conversation.cs: chore: 完善构造对话实例
2020-03-30 16:51:14 +08:00
oneRain 60cd97c725 chore 2020-03-30 14:45:41 +08:00
oneRain 02e84e69d8 * LCIMMessage.cs:
* LCIMFileMessage.cs:
* LCIMBinaryMessage.cs:
* LCIMLocationMessage.cs:
* LCIMRecalledMessage.cs:
* LCIMMessageController.cs:

* LCIMTextMessage.cs: chore
2020-03-27 17:46:45 +08:00
oneRain 8d059f106a chore: 梳理 Message 序列化 2020-03-27 17:30:18 +08:00
oneRain a1376a346d * LCIMClient.cs:
* LCIMPageResult.cs:
* LCIMChatRoom.cs:
* LCIMConversation.cs:
* LCIMConversationQuery.cs:
* LCIMGoAwayController.cs:
* LCIMUnreadController.cs:
* LCWebSocketConnection.cs:
* LCIMMessageController.cs:
* LCIMSessionController.cs:
* LCIMConversationController.cs:

* Program.cs: chore: 完善接口
2020-03-27 15:52:34 +08:00
oneRain bfd14f5b59 * LCIMClient.cs:
* Realtime.csproj:
* Program.cs:
* LCIMMessage.cs:
* Conversation.cs:
* LCIMChatRoom.cs:
* LCRTMRouter.cs:
* LCIMConversation.cs:
* LCIMConversationQuery.cs:
* LCIMController.cs:
* LCIMGoAwayController.cs:
* LCIMUnreadController.cs:
* LCWebSocketConnection.cs:
* LCIMMessageController.cs:
* LCIMSessionController.cs:
* LCIMConversationController.cs:

* LCIMTypedMessage.cs: refactor
2020-03-26 16:08:35 +08:00
oneRain 890fdc76f4 chore: 抽象出各模块的 Controller 2020-03-25 16:42:30 +08:00
oneRain cd453ce134 * LCIMConversation.cs: chore: 未读消息等逻辑
* LCIMClient.cs:
* Program.cs:
* LCIMFileMessage.cs:
* LCIMAudioMessage.cs:
* LCIMImageMessage.cs:
* LCIMTypedMessage.cs:
* LCIMVideoMessage.cs:
* LCIMConversationQuery.cs:
* LCIMMessageQueryOptions.cs:
* LCIMServiceConversation.cs:
* LCWebSocketConnection.cs:
2020-03-24 17:42:04 +08:00
oneRain 5dcdc56f56 * LCIMConversation.cs:
* LCIMConversationQuery.cs:

* RealtimeConsole.csproj: chore: 支持对话的查询和反序列化
2020-03-23 16:46:27 +08:00
oneRain 92ee97d236 * LCIMClient.cs:
* LCIMSignature.cs:
* LCIMConversation.cs:
* LCIMSignatureAction.cs:
* ILCIMSignatureFactory.cs:
* LocalSignatureFactory.cs:

* Realtime.csproj: chore: 完善签名逻辑
2020-03-23 16:21:32 +08:00
oneRain b0b85274ca * LCIMChatRoom.cs: chore: 增加会话实例化逻辑
* LCIMClient.cs:
* Program.cs:
* LCIMPartiallySuccessResult.cs:
* LCIMConversation.cs:
* LCIMServiceConversation.cs:
2020-03-19 15:12:50 +08:00
oneRain 87d481f41d * LCRTMRouter.cs: chore: 支持消息带自定义属性
* LCIMMessage.cs:
* Program.cs:
* LCIMTypedMessage.cs:
2020-03-19 11:04:37 +08:00
oneRain d109ccef65 * LCApplicationRealtimeExt.cs:
* Program.cs: chore: 去掉 warning
2020-03-18 16:29:04 +08:00
oneRain ca2c190d3b * LCWebSocketConnection.cs: chore: 增加 websocket 日志 id
* LCIMClient.cs: chore: 增加 WebSocket 日志输出 id
2020-03-18 16:28:50 +08:00
oneRain 6781d4e94f * LCIMConversation.cs: chore: 完善消息的编解码
* LCObject.cs:
* LCIMClient.cs:
* Program.cs:
* LCIMMessage.cs:
* LCConnection.cs:
* LCIMTextMessage.cs:
* LCIMFileMessage.cs:
* LCIMVideoMessage.cs:
* LCIMTypedMessage.cs:
* LCIMImageMessage.cs:
* LCIMAudioMessage.cs:
* LCApplicationRealtimeExt.cs:
* LCIMBinaryMessage.cs:
* LCHttpClient.cs:
* LCIMLocationMessage.cs:
* LCJsonConverter.cs:
* LCIMConversationQuery.cs:
* LCWebSocketConnection.cs:
2020-03-18 16:21:29 +08:00
oneRain 29a84b8afb * LCIMAudioMessage.cs: chore: 完善消息类型
* Program.cs:
* LCIMFileMessage.cs:
* LCIMImageMessage.cs:
* LCIMVideoMessage.cs:
* LCIMLocationMessage.cs:
2020-03-18 11:41:13 +08:00
oneRain 6b4d28b000 * LCIMConversation.cs: chore: 支持修改成员角色;支持修改消息
* LCIMClient.cs:
* LCApplication.cs:
* LCIMPageResult.cs:
* LCIMMessage.cs:
* Program.cs:
* LCIMOperationFailure.cs:
* LCIMTextMessage.cs:
* LCIMTypedMessage.cs:
* LCIMBinaryMessage.cs:
* LCHttpClient.cs:
* LCIMPartiallySuccessResult.cs:
* LCIMConversationMemberInfo.cs:
2020-03-17 16:17:19 +08:00
oneRain 05e642237e * LCIMConversation.cs: chore: 会话自定义属性
* LCIMClient.cs:
* Conversation.cs:
* LCDecoder.cs:
* LCEncoder.cs:
* LCEqualCondition.cs:
* ILCQueryCondition.cs:
* LCRelatedCondition.cs:
* LCIMConversationQuery.cs:
* LCOperationCondition.cs:
* LCIMTemporaryConversation.cs:
* LCCompositionalCondition.cs:
2020-03-17 11:41:38 +08:00
oneRain 6d4befe446 * LCIMClient.cs:
* Message.cs:
* LCIMMessage.cs:
* Program.cs:
* LCIMTextMessage.cs:
* LCIMBinaryMessage.cs:
* LCIMConversation.cs:

* LCIMTypedMessage.cs: chore: 调试简单消息发送
2020-03-16 11:50:49 +08:00
oneRain 5eae6cfe76 chore: conversation 2020-03-13 17:22:46 +08:00
oneRain bf2af41565 * csharp-sdk.sln:
* LCIMClient.cs:
* Realtime.csproj:
* Utils.cs:
* Protobuf.cs:
* LCIMMessage.cs:
* Program.cs:
* LCConnection.cs:
* Conversation.cs:
* LCIMFileMessage.cs:
* Messages2Proto.cs:
* LCIMTextMessage.cs:
* LCIMTypedMessage.cs:
* LCIMAudioMessage.cs:
* LCIMImageMessage.cs:
* LCApplicationRealtimeExt.cs:
* LCIMChatRoom.cs:
* messages2.proto.orig:
* Realtime.Test.csproj:
* LCIMLocationMessage.cs:
* LCRTMServer.cs:
* LCRTMRouter.cs:
* LCIMRecalledMessage.cs:
* compile-client-proto.sh:
* LCIMConversation.cs:
* RealtimeConsole.csproj:
* LCIMConversationQuery.cs:
* AssemblyInfo.cs:
* LCWebSocketClient.cs:
* LCIMTemporaryConversation.cs:
* LCIMConversationMemberInfo.cs:

* packages.config: chore: protobuf, websocket, converstion
2020-03-12 16:23:21 +08:00