IMqttServerOptions.cs 1.0 KB

1234567891011121314151617181920212223242526272829
  1. using System;
  2. namespace MQTTnet.Server
  3. {
  4. public interface IMqttServerOptions
  5. {
  6. string ClientId { get; set; }
  7. bool EnablePersistentSessions { get; }
  8. int MaxPendingMessagesPerClient { get; }
  9. MqttPendingMessagesOverflowStrategy PendingMessagesOverflowStrategy { get; }
  10. TimeSpan DefaultCommunicationTimeout { get; }
  11. IMqttServerConnectionValidator ConnectionValidator { get; }
  12. IMqttServerSubscriptionInterceptor SubscriptionInterceptor { get; }
  13. IMqttServerUnsubscriptionInterceptor UnsubscriptionInterceptor { get; }
  14. IMqttServerApplicationMessageInterceptor ApplicationMessageInterceptor { get; }
  15. IMqttServerClientMessageQueueInterceptor ClientMessageQueueInterceptor { get; }
  16. MqttServerTcpEndpointOptions DefaultEndpointOptions { get; }
  17. MqttServerTlsTcpEndpointOptions TlsEndpointOptions { get; }
  18. IMqttServerStorage Storage { get; }
  19. IMqttRetainedMessagesManager RetainedMessagesManager { get; }
  20. }
  21. }