Пример #1
0
 /// <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;
 }
Пример #2
0
 /// <summary>
 /// Function To Give a Receiver A ClientHandler
 /// </summary>
 /// <param name="ch">Client Handler value</param>
 private void RegisterClientHandler(ClientHandler ch)
 {
     this.derivedClientHandler = ch;
 }