mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-15 08:33:01 +08:00
26 lines
886 B
C#
26 lines
886 B
C#
using System;
|
|
|
|
namespace MQTTnet.Server
|
|
{
|
|
public interface IMqttServerOptions
|
|
{
|
|
string ClientId { get; set; }
|
|
|
|
bool EnablePersistentSessions { get; }
|
|
|
|
int MaxPendingMessagesPerClient { get; }
|
|
MqttPendingMessagesOverflowStrategy PendingMessagesOverflowStrategy { get; }
|
|
|
|
TimeSpan DefaultCommunicationTimeout { get; }
|
|
|
|
IMqttServerConnectionValidator ConnectionValidator { get; }
|
|
IMqttServerSubscriptionInterceptor SubscriptionInterceptor { get; }
|
|
IMqttServerApplicationMessageInterceptor ApplicationMessageInterceptor { get; }
|
|
IMqttServerClientMessageQueueInterceptor ClientMessageQueueInterceptor { get; }
|
|
|
|
MqttServerTcpEndpointOptions DefaultEndpointOptions { get; }
|
|
MqttServerTlsTcpEndpointOptions TlsEndpointOptions { get; }
|
|
|
|
IMqttServerStorage Storage { get; }
|
|
}
|
|
} |