server-master/srcs/PhoenixLib.Messaging/Internal/Routing/IMessageRouter.cs
2026-02-10 18:21:30 +01:00

28 lines
No EOL
797 B
C#

using System;
namespace PhoenixLib.ServiceBus.Routing
{
public interface IMessageRouter
{
/// <summary>
/// Get the routing informations from the router
/// </summary>
/// <param name="type"></param>
/// <returns></returns>
IRoutingInformation GetRoutingInformation<T>();
/// <summary>
/// Used for runtime possibilities
/// </summary>
/// <param name="type"></param>
/// <returns></returns>
IRoutingInformation GetRoutingInformation(Type type);
/// <summary>
/// Gets the routing information
/// </summary>
/// <param name="type"></param>
/// <returns></returns>
IRoutingInformation GetRoutingInformation(string type);
}
}