public void Reply(IPeerDiscoveryMessage req, Guid streamId, ArraySegment <byte> message)
        {
            var r = req as MemoryPeerDiscoveryMessage;
            var m = new MemoryPeerDiscoveryMessage(this, streamId, message);

            r.sender_.incoming_.Enqueue(m);
            PumpMessages();
        }
        public void Broadcast(Guid streamId, ArraySegment <byte> message)
        {
            var m = new MemoryPeerDiscoveryMessage(this, streamId, message);

            foreach (var c in instances_)
            {
                c.incoming_.Enqueue(m);
            }
            PumpMessages();
        }