You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IMqttClientRetainedMessageManager.cs 434 B

123456789101112131415
  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. }