/// <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; }
public WhatsParser(WhatsNetwork whatsNet) { this.WhatsSendHandler = new WhatsSendHandler(whatsNet); this.whatsNetwork = whatsNet; this.messResponseHandler = new MessageRecvResponse(this.WhatsSendHandler); }