code: public void setActive(boolean active) {
          refreshListener.setActive(active);
          addListener.setActive(active);
          removeListener.setActive(active);
          eventManager.fireRemoteEvent(active ? addListener.eventName : removeListener.eventName, self);
          
          if (active) {
              refresh();
          }
      }
docs: Sets the active state.
  
  @param active The new active state. When set to true, all event subscriptions are activated
  and a participant add event is fired globally. When set to false, all event
  subscriptions are inactivated and a participant remove event is fired globally.