using System.Threading;
using System.Threading.Tasks;
using SharedLibraryCore.RCon;
namespace SharedLibraryCore.Interfaces
{
///
/// defines the capabilities of an RCon connection
///
public interface IRConConnection
{
///
/// sends a query with the instance of the rcon connection
///
/// type of RCon query to perform
/// optional parameter list
///
///
Task SendQueryAsync(StaticHelpers.QueryType type, string parameters = "", CancellationToken token = default);
///
/// sets the rcon parser
///
/// parser
void SetConfiguration(IRConParser config);
}
}