Skip to content

Commit

Permalink
Rename LocalRef > ILocalRef
Browse files Browse the repository at this point in the history
  • Loading branch information
HCanber committed Mar 31, 2015
1 parent 40fdd44 commit 8bc5acd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/core/Akka.Remote/Endpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions src/core/Akka/Actor/ActorRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public interface IActorRefScope
/// Marker interface for Actors that are deployed within local scope,
/// i.e. <see cref="IActorRefScope.IsLocal"/> always returns <c>true</c>.
/// </summary>
internal interface LocalRef : IActorRefScope { }
internal interface ILocalRef : IActorRefScope { }

/// <summary>
/// RepointableActorRef (and potentially others) may change their locality at
Expand Down Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/core/Akka/Actor/LocalActorRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8bc5acd

Please sign in to comment.