public void NewEndpoints(object sender, EndpointsEventArgs e) { provisioner.Provision(e.Endpoints); runner.Start(e.Endpoints); monitor.Monitor(e.Endpoints); runningServices.AddRange(e.Endpoints); }
public void NewEndpoints(object sender, EndpointsEventArgs e) { provisioner.Provision(e.Endpoints); runner.Start(e.Endpoints); monitor.Monitor(e.Endpoints); runningServices.AddRange(e.Endpoints); }
public void UpdatedEndpoints(object sender, EndpointsEventArgs e) { runner.Stop(e.Endpoints); provisioner.Remove(e.Endpoints); provisioner.Provision(e.Endpoints); runner.Start(e.Endpoints); }
public void RemovedEndpoints(object sender, EndpointsEventArgs e) { monitor.StopMonitoring(e.Endpoints); runner.Stop(e.Endpoints); provisioner.Remove(e.Endpoints); foreach (var endpoint in e.Endpoints) runningServices.Remove(endpoint); }
public void OnRemovedEndpoints(EndpointsEventArgs e) { var handler = RemovedEndpoints; if (handler != null) { handler(this, e); } }
public void OnNewEndpoints(EndpointsEventArgs e) { var handler = NewEndpoints; if (handler != null) { handler(this, e); } }
public void RemovedEndpoints(object sender, EndpointsEventArgs e) { monitor.StopMonitoring(e.Endpoints); runner.Stop(e.Endpoints); provisioner.Remove(e.Endpoints); foreach (var endpoint in e.Endpoints) { runningServices.Remove(endpoint); } }
public void OnUpdatedEndpoints(EndpointsEventArgs e) { var handler = UpdatedEndpoints; if (handler != null) handler(this, e); }
public void OnRemovedEndpoints(EndpointsEventArgs e) { var handler = RemovedEndpoints; if (handler != null) handler(this, e); }
public void OnNewEndpoints(EndpointsEventArgs e) { var handler = NewEndpoints; if (handler != null) handler(this, e); }
public void UpdatedEndpoints(object sender, EndpointsEventArgs e) { runner.Stop(e.Endpoints); provisioner.Remove(e.Endpoints); provisioner.Provision(e.Endpoints); runner.Start(e.Endpoints); }