package com.dy.common.mw.protocol4Mqtt; /** * @Author: liurunyu * @Date: 2025/6/10 15:39 * @Description */ public interface MqttCallback { /** * @param subMsg 订阅的消息 */ void callback(MqttSubMsg subMsg) ; /** * 只有协议解析器才知道RTU真实的状态,所认提供此接口,向外通知设备的一些状态 * @param infos */ void notify(String devId, MqttNotifyInfo...infos) ; }