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); }
private static void AddReloadEventHandler(EventHandler reloadEventHandler) { RelayNodeSectionHandler.AddReloadEventHandler(reloadEventHandler); }