internal PlaygroundConfigurator(AppDomainSetup setup) : base(setup) { client = new ClientConfiguration() .LoadFromEmbeddedResource<PlaygroundConfigurator>("Client.xml"); cluster = new ClusterConfiguration() .LoadFromEmbeddedResource<PlaygroundConfigurator>("Cluster.xml"); cluster.Globals.LivenessType = GlobalConfiguration.LivenessProviderType.MembershipTableGrain; cluster.Globals.ReminderServiceType = GlobalConfiguration.ReminderServiceProviderType.ReminderTableGrain; }
internal PlaygroundConfigurator(AppDomainSetup setup) : base(setup) { client = new ClientConfiguration() .LoadFromEmbeddedResource<PlaygroundConfigurator>("Client.xml"); cluster = new ClusterConfiguration() .LoadFromEmbeddedResource<PlaygroundConfigurator>("Cluster.xml"); cluster.Globals.LivenessType = GlobalConfiguration.LivenessProviderType.MembershipTableGrain; cluster.Globals.ReminderServiceType = GlobalConfiguration.ReminderServiceProviderType.ReminderTableGrain; cluster.Globals.RegisterStorageProvider<MemoryStorage>("PubSubStore"); cluster.Globals.RegisterStreamProvider<SimpleMessageStreamProvider>("SMS"); client.RegisterStreamProvider<SimpleMessageStreamProvider>("SMS"); }
public Client(ClientConfiguration configuration) { Configuration = configuration; }