1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-08 14:18:20 -05:00
IW4M-Admin/SharedLibraryCore/Interfaces/IRConConnectionFactory.cs
RaidMax af380d3744 refactor a good bit of stuff for better dependency injection
fix regular expression for T6 log parsing
2020-02-11 16:44:06 -06:00

18 lines
635 B
C#

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>
/// <returns>instance of rcon connection</returns>
IRConConnection CreateConnection(string ipAddress, int port, string password);
}
}