mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-10-22 13:12:49 +00:00
feat(reticulum): complete Sideband client runtime
This commit is contained in:
1 parent
df725643c6
commit
14d277e2c4
97 files changed
+9620
-2011
No files matched your search
+4
-7
@@ -8,11 +8,6 @@ namespace chat
|
||||
class ChatService;
|
||||
}
|
||||
|
||||
namespace sys
|
||||
{
|
||||
struct ChatSendResultEvent;
|
||||
}
|
||||
|
||||
namespace ui_chat_runtime
|
||||
{
|
||||
|
||||
@@ -23,12 +18,14 @@ class ChatDeliveryEventProjectionAdapter
|
||||
::chat::ChatService& chat_service,
|
||||
::chat::delivery::IChatDeliveryEventPort& delivery_events);
|
||||
|
||||
void onChatSendResult(const ::sys::ChatSendResultEvent& event);
|
||||
void onChatSendResult(::chat::MessageId msg_id,
|
||||
::chat::MessageStatus status,
|
||||
uint32_t timestamp_ms = 0);
|
||||
void onAckTimeout(::chat::MessageId msg_id, uint32_t timestamp_ms = 0);
|
||||
|
||||
private:
|
||||
bool publishSendResult(::chat::MessageId msg_id,
|
||||
bool success,
|
||||
::chat::delivery::DeliveryState state,
|
||||
::chat::delivery::SendFailureKind failure,
|
||||
uint32_t timestamp_ms);
|
||||
|
||||
|
||||
Reference in new issue
Block a user