Exemple #1
0
 internal void LogChatHandlerOut(AbstractChatHandler logout)
 {
     if (this.listeners.Remove(logout) )
     {
         if (this.listeners.Count == 0)
         {
             OnStatusChanged(true);
             this.unload();
         }
         logout.cleanUp();
     }
 }
Exemple #2
0
 public void AddOnlineState(AbstractChatHandler handler)
 {
     if (!this.listeners.Contains(handler))
     {
         handler.setHandler(this);
         this.listeners.Add(handler);
     }
 }