Class MqttServerOptions
public sealed class MqttServerOptions
- Inheritance
-
MqttServerOptions
- Inherited Members
Constructors
MqttServerOptions()
public MqttServerOptions()
Properties
DefaultCommunicationTimeout
public TimeSpan DefaultCommunicationTimeout { get; set; }
Property Value
DefaultEndpointOptions
public MqttServerTcpEndpointOptions DefaultEndpointOptions { get; }
Property Value
EnablePersistentSessions
public bool EnablePersistentSessions { get; set; }
Property Value
KeepAliveMonitorInterval
[Obsolete("Use KeepAliveOptions instead.")]
public TimeSpan KeepAliveMonitorInterval { get; set; }
Property Value
KeepAliveOptions
public MqttServerKeepAliveOptions KeepAliveOptions { get; }
Property Value
MaxPendingMessagesPerClient
public int MaxPendingMessagesPerClient { get; set; }
Property Value
PendingMessagesOverflowStrategy
public MqttPendingMessagesOverflowStrategy PendingMessagesOverflowStrategy { get; set; }
Property Value
TlsEndpointOptions
public MqttServerTlsTcpEndpointOptions TlsEndpointOptions { get; }
Property Value
WriterBufferSize
Gets or sets the default and initial size of the packet write buffer. It is recommended to set this to a value close to the usual expected packet size * 1.5. Do not change this value when no memory issues are experienced.
public int WriterBufferSize { get; set; }
Property Value
WriterBufferSizeMax
Gets or sets the maximum size of the buffer writer. The writer will reduce its internal buffer to this value after serializing a packet. Do not change this value when no memory issues are experienced.
public int WriterBufferSizeMax { get; set; }