示例#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);
 }