/// <summary> /// Initializes a new instance of the Receiver class /// Default Constructor /// </summary> public Receiver() { this.tcpRecieveQ = new BlockingQueue <string>(); this.derivedClientHandler = new ClientHandler(this.tcpRecieveQ); this.islistening = false; }
/// <summary> /// Function To Give a Receiver A ClientHandler /// </summary> /// <param name="ch">Client Handler value</param> private void RegisterClientHandler(ClientHandler ch) { this.derivedClientHandler = ch; }