Esempio n. 1
0
 private void LoadComponents()
 {
     foreach (var host in appConfig.hosts)
     {
         Hosts.Add(ComponentFactory.CreateHostComponent(appConfig, host));
     }
     foreach (var comp in appConfig.components)
     {
         if (comp is ForgeComponentType)
         {
             Forges.Add(ComponentFactory.CreateForgeComponent(appConfig, comp as ForgeComponentType));
         }
         else if (comp is DgidxComponentType)
         {
             dgidx = ComponentFactory.CreateDgidxComponent(appConfig, comp as DgidxComponentType);
         }
         else if (comp is DgraphComponentType)
         {
             Dgraphs.Add(ComponentFactory.CreateDgraphComponent(appConfig, comp as DgraphComponentType));
         }
         else if (comp is LogServerComponentType)
         {
             logServer = ComponentFactory.CreateLogServerComponent(appConfig, comp as LogServerComponentType);
         }
     }
 }
Esempio n. 2
0
 public void AddAggregationFunction(AggregationMultiFunctionDeclarationContext declarationContext)
 {
     Forges.Add(this);
     FunctionDeclContexts.Add(declarationContext);
 }
Esempio n. 3
0
 public SupportAggMFMultiRTForge()
 {
     Forges.Add(this);
 }