Create() публичный статический Метод

Creates cluster publish/subscribe settings from the default configuration `akka.cluster.pub-sub`.
public static Create ( ActorSystem system ) : DistributedPubSubSettings
system ActorSystem
Результат DistributedPubSubSettings
Пример #1
0
 /// <summary>
 /// TBD
 /// </summary>
 /// <param name="system">TBD</param>
 public DistributedPubSub(ExtendedActorSystem system)
 {
     _system      = system;
     _settings    = DistributedPubSubSettings.Create(system);
     _cluster     = Cluster.Get(_system);
     _mediatorRef = CreateMediator();
 }
Пример #2
0
 public DistributedPubSub(ExtendedActorSystem system)
 {
     _system = system;
     _system.Settings.InjectTopLevelFallback(DefaultConfig());
     _settings    = DistributedPubSubSettings.Create(system);
     _cluster     = Cluster.Get(_system);
     _mediatorRef = CreateMediator();
 }