Add support for different strategies when generating RPC topics.

This commit is contained in:
Christian Kratky
2019-08-13 19:53:55 +02:00
parent 0cfb8b4020
commit 2e3cf54f11
9 changed files with 156 additions and 5 deletions
@@ -0,0 +1,16 @@
using MQTTnet.Client;
using MQTTnet.Protocol;
namespace MQTTnet.Extensions.Rpc.Options.TopicGeneration
{
public class TopicGenerationContext
{
public string MethodName { get; set; }
public MqttQualityOfServiceLevel QualityOfServiceLevel { get; set; }
public IMqttClient MqttClient { get; set; }
public IMqttRpcClientOptions Options { get; set; }
}
}