Skip to content

dimchat/demo-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Secure Chat (Android version)

Demo project of DIM Client, just for study purpose.

Dependencies:

Sub Modules

SDK Modules

Module Version Description
Crypto 0.6.2 Keys
MingKeMing 0.10.2 Account Module
DaoKeDao 0.10.2 Message Module
DIMP 0.10.3 Core Protocols
SDK 0.8.6
Plugins 0.4.4

Network Modules

Module Version Description
ByteArray 0.1.2 Byte Buffer
TLV 0.1.4 Tag Length Value
STUN 0.1.5
TURN 0.1.5
MTP 0.1.7 Network Packing
StarTrek 0.3.8 Transport
TCP 0.3.8
UDP 0.3.8
DMTP 0.2.3 Binary Messaging

Others

Module Version Description
FSM 0.2.5 State Machine
StarGate 0.4.1 Transport
LNC 0.1.1 Notification
DOS 0.1.3 File System

Architecture Diagram

<style> pre code { font-family: "Lucida Console", "Consolas", Monaco, monospace; line-height: 0px; } </style>
          
          
                 +-------+        +--------+        +-------+
          .....> |  SDK  | .....> |  DIMP  | .....> |  DKD  |
          :      +-------+        +--------+        +-------+
          :                           ^                 :
          :                           :                 V
          :          +-----------+    :             +-------+      +--------+
          :........> |  Plugins  | ...:             |  MKM  | ...> | Crypto |
          :          +-----------+                  +-------+      +--------+
          :
    +==========+
    |  SEChat  |
    +==========+
          :
          :     +-------+
          :...> |  LNC  |
          :     +-------+
          :     
          :     +-------+
          :...> |  DOS  |
          :     +-------+
          :
          :     +------------+       +-------+     +----------+     +-------+
          :...> |  StarGate  | ....> |  TCP  | ..> | StarTrek | ..> |  FSM  |
          :     +------------+       +-------+     +----------+     +-------+
          :            :                                ^
          :            :             +-------+          :
          :            :...........> |  UDP  | .........:
          :                          +-------+          :
          :                                             V
          :     +--------+                          +-------+           
          :...> |  DMTP  | .......................> |  MTP  | ...........
                +--------+            :             +-------+           :
                                      V                                 V
                +--------+        +--------+        +-------+        +------+
                |  TURN  | .....> |  STUN  | .....> |  TLV  | .....> |  BA  |
                +--------+        +--------+        +-------+        +------+


-- Edited by Alber Moky @ 2023-3-25

About

DIM Client

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •