2020-02-11 17:44:06 -05:00
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// defines the capabilities of an RCon connection factory
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IRConConnectionFactory
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// creates an rcon connection instance
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="ipAddress">ip address of the server</param>
|
|
|
|
|
/// <param name="port">port of the server</param>
|
|
|
|
|
/// <param name="password"> password of the server</param>
|
2021-06-03 11:51:03 -04:00
|
|
|
|
/// <param name="rconEngine">engine to create the rcon connection to</param>
|
2020-02-11 17:44:06 -05:00
|
|
|
|
/// <returns>instance of rcon connection</returns>
|
2021-06-03 11:51:03 -04:00
|
|
|
|
IRConConnection CreateConnection(string ipAddress, int port, string password, string rconEngine);
|
2020-02-11 17:44:06 -05:00
|
|
|
|
}
|
|
|
|
|
}
|