mqtt协议-broker之moqutte源码研究五之UNSUBSCRIBE与DISCONN报文处理
本文讲解moquette对UNSUBSCRIBE和DISCONNECT的处理先说UNSUBSCRIBE,代码比较简单 public void processUnsubscribe(Channel channel, MqttUnsubscribeMessage msg) { List<String> topics = msg.payload().topics(); ...