Пример #1
0
        public TripThru(bool enableTDispatch = true)
            : base("TripThru", "TripThru")
        {
            InitializePersistantDataObjects();
            garbageCleanup = new GarbageCleanup <string>(new TimeSpan(0, 1, 0), CleanUpTrip);
            LoadUserAccounts();
            if (enableTDispatch)
            {
                LoadTDispatchIntegrations();
            }

            new PartnersUpdateThread(partners);
            new HealthCheckThread(this);
        }
        public TripThru(bool enableTDispatch = true)
            : base("TripThru", "TripThru")
        {
            //            partners = new RedisStore<string, Gateway>(redis, MemberInfoGetting.GetMemberName(() => partners));
            InitializePersistantDataObjects();
            garbageCleanup = new GarbageCleanup <string>(new TimeSpan(0, 1, 0), CleanUpTrip);

            LoadUserAccounts();

            if (enableTDispatch)
            {
                LoadTDispatchIntegrations();
            }

            new PartnersUpdateThread(partners);
            new HealthCheckThread(this);
        }
        public TripThru(bool enableTDispatch = true)
            : base("TripThru", "TripThru")
        {
            //            partners = new RedisStore<string, Gateway>(redis, MemberInfoGetting.GetMemberName(() => partners));
            InitializePersistantDataObjects();
            garbageCleanup = new GarbageCleanup<string>(new TimeSpan(0, 1, 0), CleanUpTrip);

            LoadUserAccounts();

            if (enableTDispatch)
                LoadTDispatchIntegrations();

            new PartnersUpdateThread(partners);
            new HealthCheckThread(this);
        }
        public TripThru(bool enableTDispatch = true)
            : base("TripThru", "TripThru")
        {
            InitializePersistantDataObjects();
            garbageCleanup = new GarbageCleanup<string>(new TimeSpan(0, 1, 0), CleanUpTrip);

            LoadUserAccounts();

            if (enableTDispatch)
                LoadTDispatchIntegrations();

            new PartnersUpdateThread(partners);
            new HealthCheckThread(this);
        }