Exemplo n.º 1
0
        protected override void DoConfigure(Conf.IConfigSectionNode node)
        {
            base.DoConfigure(node);

            foreach (var dnode in node.Children.Where(n => n.Name.EqualsIgnoreCase(LogDaemonBase.CONFIG_SINK_SECTION)))
            {
                var sink = FactoryUtils.MakeAndConfigure <Sink>(dnode, typeof(CSVFileSink), new[] { this });
            }
        }
Exemplo n.º 2
0
 protected override void DoConfigure(Conf.IConfigSectionNode node)
 {
     if (node == null)
     {
         return;
     }
     m_IncomingState.configure(node[CONFIG_INCOMING_SECTION]);
     m_OutgoingState.configure(node[CONFIG_OUTGOING_SECTION]);
 }
Exemplo n.º 3
0
        protected override void DoConfigure(Conf.IConfigSectionNode node)
        {
            base.DoConfigure(node);

            foreach (var dnode in node.Children.Where(n => n.Name.EqualsIgnoreCase(LogServiceBase.CONFIG_SINK_SECTION)))
            {
                var dest = FactoryUtils.MakeAndConfigure(dnode) as Sink;
                this.RegisterSink(dest);
            }
        }
Exemplo n.º 4
0
 protected override void DoConfigure(Conf.IConfigSectionNode node)
 {
     base.DoConfigure(node);
     m_Client.Configure(node);
 }
Exemplo n.º 5
0
 public void Configure(Conf.IConfigSectionNode node)
 {
 }
Exemplo n.º 6
0
 protected override void DoConfigure(Conf.IConfigSectionNode node)
 {
     base.DoConfigure(node);
     ConfigAttribute.Apply(m_DataStore, node);
 }
Exemplo n.º 7
0
 //Hub module returns children declared right within it (without "modules" sub-section)
 protected override IEnumerable <Conf.IConfigSectionNode> DoGetAllChildModuleConfigNodes(Conf.IConfigSectionNode node)
 {
     if (node == null || !node.Exists)
     {
         return(Enumerable.Empty <Conf.IConfigSectionNode>());
     }
     return(node.Children.Where(c => c.IsSameName(CommonApplicationLogic.CONFIG_MODULE_SECTION)));
 }
Exemplo n.º 8
0
 protected override void DoConfigureChildModules(Conf.IConfigSectionNode node)
 {
 }