Ejemplo n.º 1
0
        public void DoBasicGetPingPong()
        {
            IPinger pingerA = new BasicGetPinger();
            IPinger pingerB = new BasicGetPinger();

            DoPingPong(pingerB, pingerA);
        }
Ejemplo n.º 2
0
        public void Clear()
        {
            var pingerA = new BasicGetPinger();
            var pingerB = new BasicGetPinger();

            pingerA.Subscribe(queueA, Console.WriteLine);
            pingerB.Subscribe(queueB, Console.WriteLine);

            Thread.Sleep(100);
        }
Ejemplo n.º 3
0
        public void DoBasicGetPingPong()
        {
            IPinger pingerA = new BasicGetPinger();
            IPinger pingerB = new BasicGetPinger();

            DoPingPong(pingerB, pingerA);
        }
Ejemplo n.º 4
0
        public void Clear()
        {
            var pingerA = new BasicGetPinger();
            var pingerB = new BasicGetPinger();

            pingerA.Subscribe(queueA, Console.WriteLine);
            pingerB.Subscribe(queueB, Console.WriteLine);

            Thread.Sleep(100);
        }