Beispiel #1
0
        static void InitSilo(string[] args = null)
        {
            hostWrapper = new OrleansHostWrapper();

            if (!hostWrapper.Run())
            {
                Console.Error.WriteLine("Failed to initialize Orleans silo");
            }
        }
Beispiel #2
0
        static void InitSilo(string[] args)
        {
            hostWrapper = new OrleansHostWrapper(args);

            if (!hostWrapper.Run())
            {
                Console.Error.WriteLine("Failed to initialize Orleans silo");
            }
        }
Beispiel #3
0
        static void InitSilo(string[] args = null)
        {
            OrleansHostWrapper hostWrapper = null;
            if (args[0] == "primary")
            {
                hostWrapper = new OrleansHostWrapper();
            }
            else
            {
                hostWrapper = new OrleansHostWrapper(int.Parse(args[1]), int.Parse(args[2]));
            }

            if (!hostWrapper.Run())
            {
                Console.Error.WriteLine("Failed to initialize Orleans silo");
            }
            hostWrappers.Add(hostWrapper);
        }
Beispiel #4
0
        static void InitSilo(string[] args = null)
        {
            OrleansHostWrapper hostWrapper = null;

            if (args[0] == "primary")
            {
                hostWrapper = new OrleansHostWrapper();
            }
            else
            {
                hostWrapper = new OrleansHostWrapper(int.Parse(args[1]), int.Parse(args[2]));
            }

            if (!hostWrapper.Run())
            {
                Console.Error.WriteLine("Failed to initialize Orleans silo");
            }
            hostWrappers.Add(hostWrapper);
        }