Example #1
0
        public void SetReceiver(IDataStreamReceiver receiver)
        {
            if (receiver == null)
            {
                throw new ArgumentNullException("receiver");
            }

            _receiver = receiver;

            if (!_reading)
            {
                _readerThread = new Thread(Read);
                _readerThread.Start(this);
                _reading = true;
            }
        }
Example #2
0
 public void SetReceiver(IDataStreamReceiver receiver)
 {
 }
 public DummyDataLink(IDataStreamReceiver receiver)
 {
     this.receiver = receiver;
 }
 public void SetReceiver(IDataStreamReceiver receiver)
 {
     this.receiver = receiver;
 }
Example #5
0
 void IDataStreamInternal.Received(IDataStreamReceiver attachedReceiver)
 {
     receiver = attachedReceiver;
 }