Akka.Cluster.Tools.PublishSubscribe.DistributedPubSubMediator.PreStart C# (CSharp) Method

PreStart() protected method

protected PreStart ( ) : void
return void
        protected override void PreStart()
        {
            base.PreStart();
            if (_cluster.IsTerminated) throw new IllegalStateException("Cluster node must not be terminated");
            _cluster.Subscribe(Self, new[] { typeof(ClusterEvent.IMemberEvent) });
        }