Skip to content

Commit

Permalink
Make Router.Route virtual (#5238)
Browse files Browse the repository at this point in the history
* make Router.Route virtual

* added API approval

* changed Router.Routees to just return underlying array

* Revert "changed Router.Routees to just return underlying array"

This reverts commit d83f605.
  • Loading branch information
Aaronontheweb authored Aug 31, 2021
1 parent 8c800cf commit 426111f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4480,7 +4480,7 @@ namespace Akka.Routing
public virtual Akka.Routing.Router RemoveRoutee(Akka.Routing.Routee routee) { }
public Akka.Routing.Router RemoveRoutee(Akka.Actor.IActorRef routee) { }
public Akka.Routing.Router RemoveRoutee(Akka.Actor.ActorSelection routee) { }
public void Route(object message, Akka.Actor.IActorRef sender) { }
public virtual void Route(object message, Akka.Actor.IActorRef sender) { }
protected virtual void Send(Akka.Routing.Routee routee, object message, Akka.Actor.IActorRef sender) { }
protected object UnWrap(object message) { }
public virtual Akka.Routing.Router WithRoutees(params Akka.Routing.Routee[] routees) { }
Expand Down
2 changes: 1 addition & 1 deletion src/core/Akka/Routing/Router.cs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ protected object UnWrap(object message)
/// </summary>
/// <param name="message">The message to send.</param>
/// <param name="sender">The sender of this message - which will be propagated to the routee.</param>
public void Route(object message, IActorRef sender)
public virtual void Route(object message, IActorRef sender)
{
if (message is Broadcast)
{
Expand Down

0 comments on commit 426111f

Please sign in to comment.