fwcd / distributed-chat

Distributed peer-to-peer messaging app using Bluetooth LE mesh networks
Mozilla Public License 2.0
73 stars 11 forks source link

Implement basic abstract chat #4

Closed fwcd closed 3 years ago

fwcd commented 3 years ago

Implement the DistributedChat module with the following architecture:

       UI-Frontend
            ^
            | ChatMessage, etc.
            v
+----------------------+            \
|    ChatController    |             |
+----------------------+             |
            ^                        |
            | ChatProtocol.Message   |
            v                        | Implemented by
+----------------------+             | DistributedChat
| ChatTransportWrapper |             |
+----------------------+             |
            ^                        |
            | String                 |
            v                       /
+----------------------+              
|    ChatTransport     |              
+----------------------+             
            ^
            | Bluetooth LE, etc.
            v