public static void ProcessingMessages(ModuleEndpoint moduleEndpoint, ICollection <IRoutingMessage> routingMessages) { Log.LogDebug((int)EventIds.ProcessingMessages, Invariant($"Sending {routingMessages.Count} message(s) to module {moduleEndpoint.moduleId}.")); }
public static void NoDeviceProxy(ModuleEndpoint moduleEndpoint) { Log.LogWarning((int)EventIds.NoDeviceProxy, Invariant($"Module {moduleEndpoint.moduleId} is not connected")); }
public static void ErrorSendingMessages(ModuleEndpoint moduleEndpoint, Exception ex) { Log.LogWarning((int)EventIds.ErrorSendingMessages, ex, Invariant($"Error sending messages to module {moduleEndpoint.moduleId}")); }
public ModuleMessageProcessor(ModuleEndpoint endpoint) { this.moduleEndpoint = Preconditions.CheckNotNull(endpoint); }