Exemplo n.º 1
0
 public JT808SessionManager(
     IJT808SessionProducer jT808SessionProducer,
     ILoggerFactory loggerFactory
     )
 {
     Sessions             = new ConcurrentDictionary <string, IJT808Session>(StringComparer.OrdinalIgnoreCase);
     JT808SessionProducer = jT808SessionProducer;
     logger = loggerFactory.CreateLogger <JT808SessionManager>();
 }
Exemplo n.º 2
0
 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");
 }