mirror of
https://github.com/Stone-Red-Code/RemoteExec.git
synced 2026-09-04 17:16:22 +02:00
Add XML docs
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
namespace RemoteExec.Client;
|
||||
|
||||
/// <summary>
|
||||
/// Defines a strategy for selecting a server from a pool of available servers for task distribution.
|
||||
/// </summary>
|
||||
public interface ILoadBalancingStrategy
|
||||
{
|
||||
/// <summary>
|
||||
/// Selects the most appropriate server from the available servers based on the strategy's logic.
|
||||
/// </summary>
|
||||
/// <param name="availableServers">The collection of available servers to choose from.</param>
|
||||
/// <returns>The selected server, or <c>null</c> if no suitable server is found.</returns>
|
||||
ServerConnection? SelectServer(IEnumerable<ServerConnection> availableServers);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user