public JT808SessionManager( IJT808SessionProducer jT808SessionProducer, ILoggerFactory loggerFactory ) { Sessions = new ConcurrentDictionary <string, IJT808Session>(StringComparer.OrdinalIgnoreCase); JT808SessionProducer = jT808SessionProducer; logger = loggerFactory.CreateLogger <JT808SessionManager>(); }
public JT808SessionManager( IJT808SessionProducer jT808SessionProducer, ILoggerFactory loggerFactory ) { JT808SessionProducer = jT808SessionProducer; Sessions = new ConcurrentDictionary <string, IJT808Session>(StringComparer.OrdinalIgnoreCase); TerminalPhoneNoSessions = new ConcurrentDictionary <string, IJT808Session>(StringComparer.OrdinalIgnoreCase); logger = loggerFactory.CreateLogger("JT808SessionManager"); }