Overview of NewLife.MQTT Modules
masterNewLife.MQTT is composed of several core functional modules that handle the full lifecycle of MQTT communication, from protocol encoding to large-scale clustering. The primary modules include:
- PROT (Protocol Encoding/Decoding): Handles the core MQTT protocol logic.
- TRAN (Transport Protocol): Manages the underlying transport layers, including TCP, WebSockets, and advanced protocols like QUIC and Reliable UDP.
- CLNT (Client): The client-side implementation for connecting to brokers.
- SRV (Server): The broker/server-side implementation.
- ENT (Enterprise Extensions): Provides advanced features like rule engines and WebHooks.
- CLUS (Cluster): Manages distributed node operations, including node management, subscription synchronization, message forwarding, session migration, Raft-based consistency, and large-scale topic routing.
- SEC (Security Enhancement): Handles security-related features.