mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 01:33:03 +08:00
21 lines
641 B
C#
21 lines
641 B
C#
namespace MQTTnet.Server
|
|
{
|
|
public class MqttClientMessageQueueInterceptorContext
|
|
{
|
|
public MqttClientMessageQueueInterceptorContext(string senderClientId, string receiverClientId, MqttApplicationMessage applicationMessage)
|
|
{
|
|
SenderClientId = senderClientId;
|
|
ReceiverClientId = receiverClientId;
|
|
ApplicationMessage = applicationMessage;
|
|
}
|
|
|
|
public string SenderClientId { get; }
|
|
|
|
public string ReceiverClientId { get; }
|
|
|
|
public MqttApplicationMessage ApplicationMessage { get; set; }
|
|
|
|
public bool AcceptEnqueue { get; set; } = true;
|
|
}
|
|
}
|