public void Start(DynamoModel model) { //Whether enabled or not, we still record the startup. var service = Service.Instance; //Some clients such as Revit may allow start/close Dynamo multiple times //in the same session so register only if the factory is not registered. if (service.GetTrackerFactory(GATrackerFactory.Name) == null) { service.Register(new GATrackerFactory(ANALYTICS_PROPERTY)); } if (true == Configuration.DebugModes.IsEnabled("ADPAnalyticsTracker")) { if (service.GetTrackerFactory(ADPTrackerFactory.Name) == null) { service.Register(new ADPTrackerFactory()); } } StabilityCookie.Startup(); heartbeat = Heartbeat.GetInstance(model); logger = new UsageLog("Dynamo", UserId, SessionId); }
public void Start(DynamoModel model) { StabilityCookie.Startup(); heartbeat = Heartbeat.GetInstance(model); logger = new UsageLog("Dynamo", UserId, SessionId); }
public void Start(DynamoModel model) { //Whether enabled or not, we still record the startup. Service.Instance.Register(new GATrackerFactory(ANALYTICS_PROPERTY)); StabilityCookie.Startup(); heartbeat = Heartbeat.GetInstance(model); logger = new UsageLog("Dynamo", UserId, SessionId); }
private Heartbeat(DynamoModel dynamoModel) { // KILLDYNSETTINGS - this is provisional - but we need to enforce that Hearbeat is // not referencing multiple DynamoModels this.dynamoModel = dynamoModel; StabilityCookie.Startup(); startTime = DateTime.Now; heartbeatThread = new Thread(this.ExecThread); heartbeatThread.IsBackground = true; heartbeatThread.Start(); }
public void Start(DynamoModel model) { StabilityCookie.Startup(); }