您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

16 行
434 B

  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using MQTTnet.Core.Packets;
  4. namespace MQTTnet.Core.Server
  5. {
  6. public interface IMqttClientRetainedMessageManager
  7. {
  8. Task LoadMessagesAsync();
  9. Task HandleMessageAsync(string clientId, MqttApplicationMessage applicationMessage);
  10. Task<List<MqttApplicationMessage>> GetSubscribedMessagesAsync(MqttSubscribePacket subscribePacket);
  11. }
  12. }