diff --git a/src/core/Akka.Remote/Endpoint.cs b/src/core/Akka.Remote/Endpoint.cs index 2f33d0f9055..388db64f5ba 100644 --- a/src/core/Akka.Remote/Endpoint.cs +++ b/src/core/Akka.Remote/Endpoint.cs @@ -67,7 +67,7 @@ public void Dispatch(IInternalActorRef recipient, Address recipientAddress, Seri } //message is intended for a local recipient - else if ((recipient is LocalRef || recipient is RepointableActorRef) && recipient.IsLocal) + else if ((recipient is ILocalRef || recipient is RepointableActorRef) && recipient.IsLocal) { if (settings.LogReceive) log.Debug("received local message [{0}]", msgLog); payload.Match() diff --git a/src/core/Akka/Actor/ActorRef.cs b/src/core/Akka/Actor/ActorRef.cs index c3bac96607a..0d0279a82ca 100644 --- a/src/core/Akka/Actor/ActorRef.cs +++ b/src/core/Akka/Actor/ActorRef.cs @@ -29,7 +29,7 @@ public interface IActorRefScope /// Marker interface for Actors that are deployed within local scope, /// i.e. always returns true. /// - internal interface LocalRef : IActorRefScope { } + internal interface ILocalRef : IActorRefScope { } /// /// RepointableActorRef (and potentially others) may change their locality at @@ -267,7 +267,7 @@ public abstract class InternalActorRefBase : ActorRefBase, IInternalActorRef public abstract bool IsLocal { get; } } - public abstract class MinimalActorRef : InternalActorRefBase, LocalRef + public abstract class MinimalActorRef : InternalActorRefBase, ILocalRef { public override IInternalActorRef Parent { diff --git a/src/core/Akka/Actor/LocalActorRef.cs b/src/core/Akka/Actor/LocalActorRef.cs index 041fec59508..3e28df23dbf 100644 --- a/src/core/Akka/Actor/LocalActorRef.cs +++ b/src/core/Akka/Actor/LocalActorRef.cs @@ -7,7 +7,7 @@ namespace Akka.Actor { - public class LocalActorRef : ActorRefWithCell, LocalRef + public class LocalActorRef : ActorRefWithCell, ILocalRef { private readonly ActorSystem _system; private readonly Props _props;