Example #1
0
        private static void actionsStartAsync()
        {
            Logger.Trace("Start ActionsStartAsync()");
            try
            {
                while (ExchangeData.TryDequeue(out SandboxDataValue ssd))
                {
                    Logger.Trace("Dequeue", ssd.TheType);


                    if (ssd.Value.StorageAction != StorageActionType.None)
                    {
                        DataDispetcherClass.Execution(ssd);
                    }

                    Logger.Debug("Start Action", ssd.TheType);
                    ActionDispetcherClass.Action(ssd);
                }
            }
            catch (Exception ex)
            {
                Logger.Error(ex);
            }
            Logger.Trace("Exit ActionsStartAsync()");
        }
Example #2
0
        private static bool internalStart()
        {
            Logger.Trace("start InternalStart");
            var ret = false;


            ret  = ConfigDispetcherClass.Start();
            ret &= PluginDispetcherClass.Start();
            ret &= DataDispetcherClass.Start();
            ret &= ActionDispetcherClass.Start();

            Logger.Debug("end InternalStart", ret);
            return(ret);
        }