Exemplo n.º 1
0
 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);
     }
 }
Exemplo n.º 2
0
 public void RemoveSession(XFireClient session)
 {
     RemoveSession(session.SessionId);
 }