[Server] Add new interceptor before messages are added to a queue.

This commit is contained in:
Christian Kratky
2018-06-04 22:33:13 +02:00
parent 39edd22a9d
commit c88b46783b
7 changed files with 46 additions and 8 deletions
@@ -21,6 +21,8 @@ namespace MQTTnet.Server
public Action<MqttApplicationMessageInterceptorContext> ApplicationMessageInterceptor { get; set; }
public Action<MqttClientMessageQueueInterceptorContext> ClientMessageQueueInterceptor { get; set; }
public Action<MqttSubscriptionInterceptorContext> SubscriptionInterceptor { get; set; }
public IMqttServerStorage Storage { get; set; }