Beispiel #1
0
        static void Message(BasicDeliverEventArgs basic, int i)
        {
            var n = Int64.Parse(Encoding.UTF8.GetString(basic.Body.ToArray()));

            Console.WriteLine("Receiver {0} C# {1}", i, n);
            var result = Fibonacci.IsSleepy(n);

            Fibonacci.Add(OUTPUT_FILE, result);
        }