Esempio n. 1
0
        public void UpdateInfo(bool updateJobEngineThrottleInfo)
        {
            if (this.get_EngineID() == 0)
            {
                throw new InvalidOperationException("Class wasn't initialized");
            }
            int engineId = this.get_EngineID();
            Dictionary <string, object> dictionary = new Dictionary <string, object>();

            dictionary.Add("IP", (object)this.GetIPAddress());
            dictionary.Add("PollingCompletion", (object)this.GetPollingCompletion());
            int num = this.get_InterfacesSupported() ? 1 : 0;

            EngineDAL.UpdateEngineInfo(engineId, dictionary, true, num != 0);
            if (!updateJobEngineThrottleInfo)
            {
                return;
            }
            this.UpdateEngineThrottleInfo();
        }
Esempio n. 2
0
 // Token: 0x060005EE RID: 1518 RVA: 0x00023618 File Offset: 0x00021818
 public void UpdateInfo(bool updateJobEngineThrottleInfo)
 {
     if (base.EngineID == 0)
     {
         throw new InvalidOperationException("Class wasn't initialized");
     }
     EngineDAL.UpdateEngineInfo(base.EngineID, new Dictionary <string, object>
     {
         {
             "IP",
             base.GetIPAddress()
         },
         {
             "PollingCompletion",
             this.GetPollingCompletion()
         }
     }, true, base.InterfacesSupported);
     if (updateJobEngineThrottleInfo)
     {
         this.UpdateEngineThrottleInfo();
     }
 }