/// <summary>
 /// Represents a TCP server channel.
 /// </summary>
 /// <param name="port">The server's port.</param>
 /// <param name="loggingService">The logging service.</param>
 /// <param name="clientHandler">The client handler.</param>
 public TcpServerChannel(int port, ILoggingService loggingService, IClientHandler clientHandler)
 {
     this.port           = port;
     this.clientHandler  = clientHandler;
     this.loggingService = loggingService;
     writeLock           = clientHandler.getLock();
 }