You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
407 B
C#
14 lines
407 B
C#
namespace POSV.LoadBalance
|
|
{
|
|
public interface IRouting<T>
|
|
{
|
|
/// <summary>
|
|
/// pick a instance to receive the message
|
|
/// </summary>
|
|
/// <param name="message">The message that is being routed</param>
|
|
/// <param name="instances">A collection of instance</param>
|
|
/// <returns></returns>
|
|
T select(object message, params T[] instances);
|
|
}
|
|
}
|