Exemplo n.º 1
0
        public void Start()
        {
            host = new OrleansSiloHost(Dns.GetHostName())
            {
                ConfigFileName = "ServerConfiguration.xml"
            };

            host.InitializeOrleansSilo();
            host.StartOrleansSilo();
            host.LoadOrleansConfig();
        }
Exemplo n.º 2
0
        static void Start(string[] args)
        {
            var serverConfigFileName = ConfigurationFilePath("OrleansServerConfigurationForTesting.xml");
            host = new OrleansSiloHost(Dns.GetHostName()) { ConfigFileName = serverConfigFileName };

            host.LoadOrleansConfig();
            host.InitializeOrleansSilo();

            host.Config.Globals.ReminderServiceType =
                GlobalConfiguration.ReminderServiceProviderType.ReminderTableGrain;

            host.StartOrleansSilo();
        }
Exemplo n.º 3
0
        static void Start(string[] args)
        {
            var serverConfigFileName = ConfigurationFilePath("OrleansServerConfigurationForTesting.xml");

            host = new OrleansSiloHost(Dns.GetHostName())
            {
                ConfigFileName = serverConfigFileName
            };

            host.LoadOrleansConfig();
            host.InitializeOrleansSilo();

            host.Config.Globals.ReminderServiceType =
                GlobalConfiguration.ReminderServiceProviderType.ReminderTableGrain;

            host.StartOrleansSilo();
        }
Exemplo n.º 4
0
 private void Init()
 {
     siloHost.LoadOrleansConfig();
 }
Exemplo n.º 5
0
 public bool Start()
 {
     _host.LoadOrleansConfig();
     _host.InitializeOrleansSilo();
     return(_host.StartOrleansSilo());
 }