public MessagingHostFeature(IConnectionManager connectionManager, ILoggerFactory loggerFactory, TcpAsyncServer tcpAsyncServer, INodeStats nodeStats, IMessageNodeRepository messageNodeRepository) { this.connectionManager = connectionManager; this.tcpAsyncServer = tcpAsyncServer; this.logger = loggerFactory.CreateLogger(this.GetType().FullName); this.messageNodeRepository = messageNodeRepository; nodeStats.RegisterStats(AddComponentStatsAsync, StatsType.Component, GetType().Name); nodeStats.RegisterStats(AddInlineStats, StatsType.Inline, GetType().Name, 800); }
public CommandProcessor(IMessageNodeRepository messageNodeRepository) { this.messageNodeRepository = messageNodeRepository; }