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

20 lines
545 B

  1. namespace MQTTnet.Server
  2. {
  3. public class MqttApplicationMessageInterceptorContext
  4. {
  5. public MqttApplicationMessageInterceptorContext(string clientId, MqttApplicationMessage applicationMessage)
  6. {
  7. ClientId = clientId;
  8. ApplicationMessage = applicationMessage;
  9. }
  10. public string ClientId { get; }
  11. public MqttApplicationMessage ApplicationMessage { get; set; }
  12. public bool AcceptPublish { get; set; } = true;
  13. public bool CloseConnection { get; set; }
  14. }
  15. }