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.
 
 
 
 

21 lines
641 B

  1. namespace MQTTnet.Server
  2. {
  3. public class MqttClientMessageQueueInterceptorContext
  4. {
  5. public MqttClientMessageQueueInterceptorContext(string senderClientId, string receiverClientId, MqttApplicationMessage applicationMessage)
  6. {
  7. SenderClientId = senderClientId;
  8. ReceiverClientId = receiverClientId;
  9. ApplicationMessage = applicationMessage;
  10. }
  11. public string SenderClientId { get; }
  12. public string ReceiverClientId { get; }
  13. public MqttApplicationMessage ApplicationMessage { get; set; }
  14. public bool AcceptEnqueue { get; set; } = true;
  15. }
  16. }