forked from dotnet/orleans
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ITypeManager.cs
28 lines (24 loc) · 871 Bytes
/
ITypeManager.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System.Threading.Tasks;
namespace Orleans.Runtime
{
/// <summary>
/// Client gateway interface for obtaining the grain interface/type map.
/// </summary>
internal interface IClusterTypeManager : ISystemTarget
{
/// <summary>
/// Acquires grain interface map for all grain types supported across the entire cluster
/// </summary>
/// <returns></returns>
Task<IGrainTypeResolver> GetClusterTypeCodeMap();
Task<Streams.ImplicitStreamSubscriberTable> GetImplicitStreamSubscriberTable(SiloAddress silo);
}
internal interface ISiloTypeManager : ISystemTarget
{
/// <summary>
/// Acquires grain interface map for all grain types supported by hosted silo.
/// </summary>
/// <returns></returns>
Task<GrainInterfaceMap> GetSiloTypeCodeMap();
}
}