private void OnContainerEvent(ContainerEventResponse eventResp) { var eventDesc = new ContainerEventDescription() { EventType = EventTypeFromString(eventResp.Status), ContainerId = eventResp.Actor.Id, ContainerName = eventResp.Actor.Attributes.Name, TimeStampInSeconds = eventResp.Time, IsHealthy = eventResp.IsHealthStatusHealthy, ExitCode = eventResp.Actor.Attributes.ExitCode }; var notification = new ContainerEventNotification() { SinceTime = eventResp.Time, UntilTime = eventResp.Time, EventList = new List <ContainerEventDescription> { eventDesc } }; this.activatorService.OnContainerEvent(notification); this.UpdateSinceTime(eventResp.Time); }
internal void OnContainerEvent(ContainerEventNotification eventNotification) { this.activatorServiceAgent.ProcessContainerEvents(eventNotification); }