mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 17:23:04 +08:00
24 lines
871 B
C#
24 lines
871 B
C#
using System;
|
|
|
|
namespace MQTTnet.Server
|
|
{
|
|
public interface IMqttServerOptions
|
|
{
|
|
bool EnablePersistentSessions { get; }
|
|
|
|
int MaxPendingMessagesPerClient { get; }
|
|
MqttPendingMessagesOverflowStrategy PendingMessagesOverflowStrategy { get; }
|
|
|
|
TimeSpan DefaultCommunicationTimeout { get; }
|
|
|
|
Action<MqttConnectionValidatorContext> ConnectionValidator { get; }
|
|
Action<MqttSubscriptionInterceptorContext> SubscriptionInterceptor { get; }
|
|
Action<MqttApplicationMessageInterceptorContext> ApplicationMessageInterceptor { get; }
|
|
Action<MqttClientMessageQueueInterceptorContext> ClientMessageQueueInterceptor { get; }
|
|
|
|
MqttServerTcpEndpointOptions DefaultEndpointOptions { get; }
|
|
MqttServerTlsTcpEndpointOptions TlsEndpointOptions { get; }
|
|
|
|
IMqttServerStorage Storage { get; }
|
|
}
|
|
} |