예제 #1
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="whatsNet">An instance of the WhatsNetwork class</param>
 /// <param name="writer">An instance of the BinTreeNodeWriter class</param>
 internal WhatsParser(WhatsNetwork whatsNet, BinTreeNodeWriter writer)
 {
     this.WhatsSendHandler = new WhatsSendHandler(whatsNet, writer);
     this.whatsNetwork = whatsNet;
     this.messResponseHandler = new MessageRecvResponse(this.WhatsSendHandler);
     this._binWriter = writer;
 }
예제 #2
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="whatsNet">An instance of the WhatsNetwork class</param>
 /// <param name="writer">An instance of the BinTreeNodeWriter class</param>
 internal WhatsParser(WhatsNetwork whatsNet, BinTreeNodeWriter writer)
 {
     this.WhatsSendHandler    = new WhatsSendHandler(whatsNet, writer);
     this.whatsNetwork        = whatsNet;
     this.messResponseHandler = new MessageRecvResponse(this.WhatsSendHandler);
     this._binWriter          = writer;
 }
예제 #3
0
 public WhatsParser(WhatsNetwork whatsNet)
 {
     this.WhatsSendHandler    = new WhatsSendHandler(whatsNet);
     this.whatsNetwork        = whatsNet;
     this.messResponseHandler = new MessageRecvResponse(this.WhatsSendHandler);
 }
예제 #4
0
 public WhatsParser(WhatsNetwork whatsNet)
 {
     this.WhatsSendHandler = new WhatsSendHandler(whatsNet);
     this.whatsNetwork = whatsNet;
     this.messResponseHandler = new MessageRecvResponse(this.WhatsSendHandler);
 }