public FileExchangeServerConnection(string rootDir, TcpClient client, IFormatter customFormatter = null, ILogger logger = null,
                                     bool useCompression = false)
     : base(client, customFormatter, logger, useCompression)
 {
     Start(client);
     FileManager = new FileExchangeManager(rootDir, this);
 }
 public FileExchangeClientConnection(string rootDir, IFormatter customFormatter = null, ILogger logger = null,
                                     bool useCompression = false)
     : base(customFormatter, logger, useCompression)
 {
     FileManager = new FileExchangeManager(rootDir, this);
 }