public void AddSession(XFireClient session) { if (!_sessions.TryAdd(session.SessionId, session)) { Console.WriteLine("Tried to add a user with session id {0} that already existed", session.SessionId); } }
public void RemoveSession(XFireClient session) { RemoveSession(session.SessionId); }