3using Byond.TopicSender;
4using Microsoft.Extensions.Logging;
14 readonly ILogger<TopicClient>
logger;
22 ArgumentNullException.ThrowIfNull(
logger);
25 if (
logger.IsEnabled(LogLevel.Trace))
34 ConnectTimeout = timeout,
35 DisconnectTimeout = timeout,
36 ReceiveTimeout = timeout,
37 SendTimeout = timeout,
TopicClientFactory(ILogger< TopicClient > logger)
Initializes a new instance of the TopicClientFactory class.
readonly ILogger< TopicClient > logger
The ILogger for created ITopicClients.
ITopicClient CreateTopicClient(TimeSpan timeout)
Create a ITopicClient. A new ITopicClient.
Factory for ITopicClients.