protected void DoReceiveData(IProcessor processor, string data) { if (data != null && !data.Equals("")) { if (data.Equals("_CLOSE_")) { Connected = false; processor.Stop(); } else { mInvokeReceiveData.BeginInvoke(processor, data, null, null); } } }
protected void DoReceiveData(IProcessor processor, string data) { mAsyncDoReceiveData.BeginInvoke(processor, data, null, null); }
protected void DoReceiveData(IProcessor processor, string data) { mInvokeReceiveData.BeginInvoke(processor, data.Trim(), null, null); }