public NetworkNode startNodeProcess()
 {
     if (!File.Exists(configurationFilePath))
     {
         Console.WriteLine("Check your configuration file ");
         Console.WriteLine("your default config file path is {0} ", configurationFilePath);
         return null;
     }
     ElementConfigurator configManager = new ElementConfigurator(configurationFilePath);
     return configManager.configureNode();
 }
Exemplo n.º 2
0
        public NetworkNode  startNodeProcess()
        {
            if (!File.Exists(configurationFilePath))
            {
                Console.WriteLine("Check your configuration file ");
                Console.WriteLine("your default config file path is {0} ", configurationFilePath);
                return(null);
            }
            ElementConfigurator configManager = new ElementConfigurator(configurationFilePath);

            return(configManager.configureNode());
        }