Skip to content

Commit

Permalink
Remove NameAndUuid from Akka.Actor (#6460)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkatufus authored Feb 27, 2023
1 parent 35cb6df commit 6d2d83c
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 129 deletions.
34 changes: 0 additions & 34 deletions src/benchmark/Akka.Benchmarks/Actor/NameAndUidBenchmarks.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ namespace Akka.Actor
protected bool SetChildrenTerminationReason(Akka.Actor.Internal.SuspendReason reason) { }
public void SetReceiveTimeout(System.Nullable<System.TimeSpan> timeout = null) { }
protected void SetTerminated() { }
[System.ObsoleteAttribute("Not used. Will be removed in Akka.NET v1.5.")]
public static Akka.Actor.NameAndUid SplitNameAndUid(string name) { }
public virtual void Start() { }
protected void Stash(Akka.Dispatch.SysMsg.SystemMessage msg) { }
public void Stop(Akka.Actor.IActorRef child) { }
Expand Down Expand Up @@ -1355,14 +1353,6 @@ namespace Akka.Actor
public override void Suspend() { }
protected override void TellInternal(object message, Akka.Actor.IActorRef sender) { }
}
[System.ObsoleteAttribute("Not used. Will be removed in Akka.NET v1.5.")]
public class NameAndUid
{
public NameAndUid(string name, int uid) { }
public string Name { get; }
public int Uid { get; }
public override string ToString() { }
}
public sealed class Nobody : Akka.Actor.MinimalActorRef
{
public static Akka.Actor.Nobody Instance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ namespace Akka.Actor
protected bool SetChildrenTerminationReason(Akka.Actor.Internal.SuspendReason reason) { }
public void SetReceiveTimeout(System.Nullable<System.TimeSpan> timeout = null) { }
protected void SetTerminated() { }
[System.ObsoleteAttribute("Not used. Will be removed in Akka.NET v1.5.")]
public static Akka.Actor.NameAndUid SplitNameAndUid(string name) { }
public virtual void Start() { }
protected void Stash(Akka.Dispatch.SysMsg.SystemMessage msg) { }
public void Stop(Akka.Actor.IActorRef child) { }
Expand Down Expand Up @@ -1357,14 +1355,6 @@ namespace Akka.Actor
public override void Suspend() { }
protected override void TellInternal(object message, Akka.Actor.IActorRef sender) { }
}
[System.ObsoleteAttribute("Not used. Will be removed in Akka.NET v1.5.")]
public class NameAndUid
{
public NameAndUid(string name, int uid) { }
public string Name { get; }
public int Uid { get; }
public override string ToString() { }
}
public sealed class Nobody : Akka.Actor.MinimalActorRef
{
public static Akka.Actor.Nobody Instance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ namespace Akka.Actor
protected bool SetChildrenTerminationReason(Akka.Actor.Internal.SuspendReason reason) { }
public void SetReceiveTimeout(System.Nullable<System.TimeSpan> timeout = null) { }
protected void SetTerminated() { }
[System.ObsoleteAttribute("Not used. Will be removed in Akka.NET v1.5.")]
public static Akka.Actor.NameAndUid SplitNameAndUid(string name) { }
public virtual void Start() { }
protected void Stash(Akka.Dispatch.SysMsg.SystemMessage msg) { }
public void Stop(Akka.Actor.IActorRef child) { }
Expand Down Expand Up @@ -1355,14 +1353,6 @@ namespace Akka.Actor
public override void Suspend() { }
protected override void TellInternal(object message, Akka.Actor.IActorRef sender) { }
}
[System.ObsoleteAttribute("Not used. Will be removed in Akka.NET v1.5.")]
public class NameAndUid
{
public NameAndUid(string name, int uid) { }
public string Name { get; }
public int Uid { get; }
public override string ToString() { }
}
public sealed class Nobody : Akka.Actor.MinimalActorRef
{
public static Akka.Actor.Nobody Instance;
Expand Down
13 changes: 0 additions & 13 deletions src/core/Akka/Actor/ActorCell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -481,19 +481,6 @@ protected void SetActorFields(ActorBase actor)
{
actor?.Unclear();
}
/// <summary>
/// INTERNAL API
/// </summary>
/// <param name="name">TBD</param>
/// <returns>TBD</returns>
[Obsolete("Not used. Will be removed in Akka.NET v1.5.")]
public static NameAndUid SplitNameAndUid(string name)
{
var i = name.IndexOf('#');
return i < 0
? new NameAndUid(name, UndefinedUid)
: new NameAndUid(name.Substring(0, i), Int32.Parse(name.Substring(i + 1)));
}

/// <summary>
/// INTERNAL API
Expand Down
52 changes: 0 additions & 52 deletions src/core/Akka/Actor/NameAndUid.cs

This file was deleted.

0 comments on commit 6d2d83c

Please sign in to comment.