Added functionality to the UI and Agent that will help to intergrate Crank into D-Crank

The stop function has to be implemented on the worker side first.

From: Abhishek Nanda [mailto:notifications@github.com]
Sent: Friday, July 18, 2014 3:17 PM
To: SignalR/DCrank
Cc: Felicco Toney
Subject: Re: [DCrank] Added functionality to the UI and Agent that will help to intergrate Crank into D-Crank (#23)


In src/Microsoft.AspNet.SignalR.DCrank.Crank/Agent.cs:

> @@ -16,6 +18,9 @@ public class Agent

>          private readonly Dictionary<int, AgentWorker> _workers;

>          private HubConnection _connection;

>          private IHubProxy _proxy;

> +        private string _targertAddress;

> +        private int _messageSize;

> +        private int _messageRate;

>

>          public Agent()

also add a callback for stopping workers (the graceful scenario)

—
Reply to this email directly or view it on GitHub<https://github.com/SignalR/DCrank/pull/23/files#r15136536>.