// Generate a tick in the log every 10 seconds.
        public override void Run()
        {
            var dayTimeServer = new DayTimeTcpServer(RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["DayTime"].IPEndpoint);

            dayTimeServer.Start();

            int count = 0;

            for ( ; ; )
            {
                count ++;

                Trace.WriteLine(String.Format("Message {0}", count));

                Thread.Sleep(TimeSpan.FromSeconds(10));
            }
        }
        // Generate a tick in the log every 10 seconds.
        public override void Run()
        {
            var dayTimeServer = new DayTimeTcpServer(RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["DayTime"].IPEndpoint);

            dayTimeServer.Start();

            int count = 0;

            for ( ; ;)
            {
                count++;

                Trace.WriteLine(String.Format("Message {0}", count));

                Thread.Sleep(TimeSpan.FromSeconds(10));
            }
        }