Refactor traces of server session handling

This commit is contained in:
Christian Kratky
2017-11-01 13:34:39 +01:00
parent 3a6df2eab0
commit 11ccb951aa
4 changed files with 12 additions and 9 deletions
@@ -9,6 +9,8 @@ namespace MQTTnet.Core.Adapter
{
public static Task SendPacketsAsync(this IMqttCommunicationAdapter adapter, TimeSpan timeout, CancellationToken cancellationToken, params MqttBasePacket[] packets)
{
if (adapter == null) throw new ArgumentNullException(nameof(adapter));
return adapter.SendPacketsAsync(timeout, cancellationToken, packets);
}
}