Ejemplo n.º 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;
            }
        }
Ejemplo n.º 2
0
 public void SetReceiver(IDataStreamReceiver receiver)
 {
 }
Ejemplo n.º 3
0
 public DummyDataLink(IDataStreamReceiver receiver)
 {
     this.receiver = receiver;
 }
Ejemplo n.º 4
0
 public void SetReceiver(IDataStreamReceiver receiver)
 {
     this.receiver = receiver;
 }
Ejemplo n.º 5
0
 void IDataStreamInternal.Received(IDataStreamReceiver attachedReceiver)
 {
     receiver = attachedReceiver;
 }