Skip to content

Commit eb27c64

Browse files
Mark IDaemonMsg with public interface marker (#7596)
* Mark IDaemonMsg with public interface marker * Update API Approval list --------- Co-authored-by: Aaron Stannard <aaron@petabridge.com>
1 parent 176e135 commit eb27c64

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

src/core/Akka.API.Tests/verify/CoreAPISpec.ApproveRemote.DotNet.verified.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ namespace Akka.Remote
129129
void Reset();
130130
}
131131
[Akka.Annotations.InternalApiAttribute()]
132+
public interface IInternalRemotingMessage { }
133+
[Akka.Annotations.InternalApiAttribute()]
132134
public interface IRemoteActorRefProvider : Akka.Actor.IActorRefProvider
133135
{
134136
Akka.Actor.IInternalActorRef RemoteDaemon { get; }

src/core/Akka.API.Tests/verify/CoreAPISpec.ApproveRemote.Net.verified.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ namespace Akka.Remote
129129
void Reset();
130130
}
131131
[Akka.Annotations.InternalApiAttribute()]
132+
public interface IInternalRemotingMessage { }
133+
[Akka.Annotations.InternalApiAttribute()]
132134
public interface IRemoteActorRefProvider : Akka.Actor.IActorRefProvider
133135
{
134136
Akka.Actor.IInternalActorRef RemoteDaemon { get; }

src/core/Akka.Remote/RemoteSystemDaemon.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
using System.Linq;
1313
using Akka.Actor;
1414
using Akka.Actor.Internal;
15+
using Akka.Annotations;
1516
using Akka.Dispatch.SysMsg;
1617
using Akka.Event;
1718
using Akka.Util;
@@ -22,8 +23,15 @@ namespace Akka.Remote
2223
{
2324
/// <summary>
2425
/// INTERNAL API
26+
/// Used to mark that a message is meant as a system call and should not be traced
2527
/// </summary>
26-
internal interface IDaemonMsg { }
28+
[InternalApi]
29+
public interface IInternalRemotingMessage { }
30+
31+
/// <summary>
32+
/// INTERNAL API
33+
/// </summary>
34+
internal interface IDaemonMsg:IInternalRemotingMessage { }
2735

2836
/// <summary>
2937
/// INTERNAL API

0 commit comments

Comments
 (0)