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