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.
 
 
 
 

26 lines
917 B

  1. using System;
  2. namespace MQTTnet.Server
  3. {
  4. public interface IMqttServerOptions
  5. {
  6. int ConnectionBacklog { get; }
  7. bool EnablePersistentSessions { get; }
  8. int MaxPendingMessagesPerClient { get; }
  9. MqttPendingMessagesOverflowStrategy PendingMessagesOverflowStrategy { get; }
  10. TimeSpan DefaultCommunicationTimeout { get; }
  11. Action<MqttConnectionValidatorContext> ConnectionValidator { get; }
  12. Action<MqttSubscriptionInterceptorContext> SubscriptionInterceptor { get; }
  13. Action<MqttApplicationMessageInterceptorContext> ApplicationMessageInterceptor { get; }
  14. Action<MqttClientMessageQueueInterceptorContext> ClientMessageQueueInterceptor { get; set; }
  15. MqttServerDefaultEndpointOptions DefaultEndpointOptions { get; }
  16. MqttServerTlsEndpointOptions TlsEndpointOptions { get; }
  17. IMqttServerStorage Storage { get; }
  18. }
  19. }