Beispiel #1
0
 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);
 }
Beispiel #3
0
 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);
 }
Beispiel #5
0
        public void OnRemovedEndpoints(EndpointsEventArgs e)
        {
            var handler = RemovedEndpoints;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #6
0
        public void OnNewEndpoints(EndpointsEventArgs e)
        {
            var handler = NewEndpoints;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #7
0
 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);
 }