using System.Collections.Generic;
namespace VanadiumGuard.Server.Sessions
{
///
/// Session persistence. The in-memory implementation is fine for a single instance;
/// swap in Redis or a database behind this interface to run more than one.
///
public interface ISessionStore
{
void Add(GuardSession session);
GuardSession? Get(string sessionId);
/// Looks a session up by the match id the game server knows it as.
GuardSession? GetByGameSession(string gameSessionId);
void Remove(string sessionId);
IReadOnlyList All();
}
}