public JT1078TcpConnectionHandler(
     JT1078TcpSessionManager sessionManager,
     ILoggerFactory loggerFactory)
 {
     this.SessionManager = sessionManager;
     logger = loggerFactory.CreateLogger <JT1078TcpConnectionHandler>();
 }
 public JT1078TcpServerHandler(
     IJT1078TcpMessageHandlers handlers,
     ILoggerFactory loggerFactory,
     JT1078AtomicCounterServiceFactory atomicCounterServiceFactory,
     JT1078TcpSessionManager sessionManager)
 {
     this.handlers             = handlers;
     this.SessionManager       = sessionManager;
     this.AtomicCounterService = atomicCounterServiceFactory.Create(JT1078TransportProtocolType.tcp);
     logger = loggerFactory.CreateLogger <JT1078TcpServerHandler>();
 }