Akka.Remote.EndpointWriter.SupervisorStrategy C# (CSharp) Method

SupervisorStrategy() protected method

protected SupervisorStrategy ( ) : Akka.Actor.SupervisorStrategy
return Akka.Actor.SupervisorStrategy
        protected override SupervisorStrategy SupervisorStrategy()
        {
            return new OneForOneStrategy(ex =>
            {
                //we're going to throw an exception anyway
                PublishAndThrow(ex, LogLevel.ErrorLevel);
                return Directive.Escalate;
            });
        }