25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
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. }