Example #1
0
        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);
                }
            }
        }
Example #2
0
 protected void DoReceiveData(IProcessor processor, string data)
 {
     mAsyncDoReceiveData.BeginInvoke(processor, data, null, null);
 }
Example #3
0
 protected void DoReceiveData(IProcessor processor, string data)
 {
     mInvokeReceiveData.BeginInvoke(processor, data.Trim(), null, null);
 }