mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-25 06:05:21 +00:00
- PeerManager.kt: Manages peer lifecycle, nicknames, and RSSI tracking (161 lines) - FragmentManager.kt: Handles message fragmentation and reassembly (194 lines) - SecurityManager.kt: Manages duplicate detection, replay protection, encryption (236 lines) - StoreForwardManager.kt: Handles message caching for offline peers (295 lines) - MessageHandler.kt: Processes different message types and relay logic (284 lines) - BluetoothConnectionManager.kt: Manages BLE connections and GATT operations (611 lines) - PacketProcessor.kt: Routes incoming packets to appropriate handlers (108 lines) All components compile successfully and maintain same functionality as original monolithic service. Total extracted: ~1789 lines into 7 focused components.