Akka.Tests.Actor.DeathWatchSpec.WatchAndForwardActor.Receive C# (CSharp) Méthode

Receive() protected méthode

protected Receive ( object message ) : bool
message object
Résultat bool
            protected override bool Receive(object message)
            {
                var terminated = message as Terminated;
                if (terminated != null)
                    _forwardToActor.Forward(new WrappedTerminated(terminated));
                else
                    _forwardToActor.Forward(message);
                return true;
            }
        }
DeathWatchSpec.WatchAndForwardActor