Demo project of DIM Client, just for study purpose.
Dependencies:
- DIM SDK (sdk-java)
- DIM Core (core-java)
- DaoKeDao (dkd-java)
- MingKeMing (mkm-java)
- Crypto digest, coders & keys
- DIM Core (core-java)
- Plugins
- Core Plugins
- Crypto Plugins - key plugins powered by bouncy-castle
- Native Plugins - key plugins based on JNI
- Network Module
- Star Trek channel, connection, hub, ...
- TCP
- UDP
- State Machine
- Demo Libs
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 |
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 |
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 |
+-------+ +--------+ +-------+
.....> | 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