Ejemplo n.º 1
0
        private static RelayNodeConfig GetDefaultConfig()
        {
            if (DefaultConfiguration == null)
            {
                log.Info("No Data Relay configuration found. Getting default client configuration from configuration server.");
                DefaultConfiguration = RelayNodeSectionHandler.GetRelayNodeConfig(GetDefaultConfigNode());
                AddReloadEventHandler(ReloadDefaultConfig);
            }

            return(DefaultConfiguration);
        }
Ejemplo n.º 2
0
 private static void AddReloadEventHandler(EventHandler reloadEventHandler)
 {
     RelayNodeSectionHandler.AddReloadEventHandler(reloadEventHandler);
 }